From owner-p4-projects@FreeBSD.ORG Sat Oct 14 14:36:01 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3A92816A494; Sat, 14 Oct 2006 14:36:01 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F187216A417 for ; Sat, 14 Oct 2006 14:36:00 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E766543D60 for ; Sat, 14 Oct 2006 14:35:59 +0000 (GMT) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9EEZxS6024300 for ; Sat, 14 Oct 2006 14:35:59 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9EEZx1P024297 for perforce@freebsd.org; Sat, 14 Oct 2006 14:35:59 GMT (envelope-from gonzo@FreeBSD.org) Date: Sat, 14 Oct 2006 14:35:59 GMT Message-Id: <200610141435.k9EEZx1P024297@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 107890 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Oct 2006 14:36:01 -0000 http://perforce.freebsd.org/chv.cgi?CH=107890 Change 107890 by gonzo@gonzo_hq on 2006/10/14 14:35:33 o Rename tlb access methods to point out that this is used only for kernel address space. Affected files ... .. //depot/projects/mips2/src/sys/mips/include/tlb.h#6 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/tlb.h#6 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#5 $ + * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#6 $ */ #ifndef _MACHINE_TLB_H_ @@ -32,8 +32,8 @@ extern pt_entry_t *kptmap; extern vm_size_t kptsize; -#define tlb_pte_index(va) (((va) - (VM_MIN_KERNEL_ADDRESS)) >> PAGE_SHIFT) -#define tlb_pte_find(t,va) (&(t)[tlb_pte_index((va))]) +#define tlb_kern_pte_index(va) (((va) - (VM_MIN_KERNEL_ADDRESS)) >> PAGE_SHIFT) +#define tlb_kern_pte_find(t,va) (&(t)[tlb_kern_pte_index((va))]) void tlb_bootstrap(vm_size_t, vm_offset_t (*)(vm_size_t)); void tlb_enter(pmap_t, vm_offset_t, vm_paddr_t, pt_entry_t);