PERFORCE change 132122 for review
Warner Losh
imp at FreeBSD.org
Sun Dec 30 12:38:54 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=132122
Change 132122 by imp at 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 */
More information about the p4-projects
mailing list