From owner-p4-projects@FreeBSD.ORG Sun Dec 30 20:38:54 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0F5AB16A469; Sun, 30 Dec 2007 20:38:54 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6FF416A421 for ; Sun, 30 Dec 2007 20:38:53 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B809A13C4FD for ; Sun, 30 Dec 2007 20:38:53 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBUKcrlQ053999 for ; Sun, 30 Dec 2007 20:38:53 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBUKcrSe053996 for perforce@freebsd.org; Sun, 30 Dec 2007 20:38:53 GMT (envelope-from imp@freebsd.org) Date: Sun, 30 Dec 2007 20:38:53 GMT Message-Id: <200712302038.lBUKcrSe053996@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 132122 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: Sun, 30 Dec 2007 20:38:54 -0000 http://perforce.freebsd.org/chv.cgi?CH=132122 Change 132122 by imp@imp_paco-paco on 2007/12/30 20:38:15 Fewer redundant definitions. Many of these defines are different between JNPR and MIPS2 and will need to be resolved/aligned somehow. Either we'll need some way to allow each subport to cope, or we'll need to harmonize them. I suspect that some can be harmonized, at least in the 32-bit and 64-bit cases, while others will need tweaking per subport. Affected files ... .. //depot/projects/mips2-jnpr/src/sys/mips/include/vmparam.h#3 edit Differences ... ==== //depot/projects/mips2-jnpr/src/sys/mips/include/vmparam.h#3 (text+ko) ==== @@ -176,15 +176,19 @@ /* * XXXMIPS: This values need to be changed!!! */ +#if 0 #define VM_MIN_ADDRESS ((vm_offset_t)0x0000000000010000) #define VM_MAXUSER_ADDRESS ((vm_offset_t)MIPS_KSEG0_START-1) #define VM_MAX_ADDRESS ((vm_offset_t)0x0000000100000000) #define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)MIPS_KSEG3_START) #define VM_MAX_KERNEL_ADDRESS ((vm_offset_t)MIPS_KSEG3_END) +#endif #define KERNBASE (VM_MIN_KERNEL_ADDRESS) +#if 0 /* virtual sizes (bytes) for various kernel submaps */ #define VM_KMEM_SIZE (16*1024*1024) /* XXX ??? */ +#endif #define NBSEG 0x400000 /* bytes/segment */ #define SEGOFSET (NBSEG-1) /* byte offset into segment */