From owner-p4-projects@FreeBSD.ORG Fri Jul 7 11:33:07 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 404A216A4E0; Fri, 7 Jul 2006 11:33:07 +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 0465E16A4DE for ; Fri, 7 Jul 2006 11:33:07 +0000 (UTC) (envelope-from bms@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C176743D46 for ; Fri, 7 Jul 2006 11:33:06 +0000 (GMT) (envelope-from bms@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 k67BX6ku099957 for ; Fri, 7 Jul 2006 11:33:06 GMT (envelope-from bms@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k67BX66M099954 for perforce@freebsd.org; Fri, 7 Jul 2006 11:33:06 GMT (envelope-from bms@freebsd.org) Date: Fri, 7 Jul 2006 11:33:06 GMT Message-Id: <200607071133.k67BX66M099954@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bms@freebsd.org using -f From: Bruce M Simpson To: Perforce Change Reviews Cc: Subject: PERFORCE change 100864 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: Fri, 07 Jul 2006 11:33:07 -0000 http://perforce.freebsd.org/chv.cgi?CH=100864 Change 100864 by bms@bms_montagne on 2006/07/07 11:32:15 Fix for mips32; kseg2 begins at 0xc0000000 Affected files ... .. //depot/projects/mips2/src/sys/mips/include/tlb.h#2 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/tlb.h#2 (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#1 $ + * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#2 $ */ #ifndef _MACHINE_TLB_H_ @@ -32,7 +32,7 @@ extern pt_entry_t *kptmap; extern vm_size_t kptsize; -#define tlb_pte_index(va) (((va) - (MIPS_XKSEG_START)) >> PAGE_SHIFT) +#define tlb_pte_index(va) (((va) - (MIPS_KSEG2_START)) >> PAGE_SHIFT) #define tlb_pte_find(t,va) (&(t)[tlb_pte_index((va))]) void tlb_bootstrap(vm_size_t, vm_offset_t (*)(vm_size_t));