svn commit: r206246 - user/jmallett/octeon/sys/mips/include

Juli Mallett jmallett at FreeBSD.org
Tue Apr 6 05:12:47 UTC 2010


Author: jmallett
Date: Tue Apr  6 05:12:47 2010
New Revision: 206246
URL: http://svn.freebsd.org/changeset/base/206246

Log:
  Give the correct maxuser address.

Modified:
  user/jmallett/octeon/sys/mips/include/vmparam.h

Modified: user/jmallett/octeon/sys/mips/include/vmparam.h
==============================================================================
--- user/jmallett/octeon/sys/mips/include/vmparam.h	Tue Apr  6 05:11:53 2010	(r206245)
+++ user/jmallett/octeon/sys/mips/include/vmparam.h	Tue Apr  6 05:12:47 2010	(r206246)
@@ -106,7 +106,11 @@
 #define	VM_MIN_ADDRESS		((vm_offset_t)0x00000000)
 #define	VM_MAX_ADDRESS		((vm_offset_t)(intptr_t)(int32_t)0xffffffff)
 
-#define	VM_MAXUSER_ADDRESS	((vm_offset_t)(intptr_t)(int32_t)0x80000000)
+#if defined(__mips_n64)
+#define	VM_MAXUSER_ADDRESS	((vm_offset_t)0x0000010000000000)	/* XUSEG_END */
+#else
+#define	VM_MAXUSER_ADDRESS	((vm_offset_t)0x80000000)		/* USEG_END */
+#endif
 #define	VM_MAX_MMAP_ADDR	VM_MAXUSER_ADDRESS
 
 #ifndef VM_KERNEL_ALLOC_OFFSET


More information about the svn-src-user mailing list