Author: marcel
Date: Mon May  2 17:49:05 2011
New Revision: 221334
URL: http://svn.freebsd.org/changeset/base/221334

Log:
  Don't use the whole region 5 for KVA, because the CPU may not implement all
  of the 61 bits available within the region for virtual addressing.  Since
  there's no good way for us to map out the gap in the virtual address space,
  limit KVA to the architectural minimum implemented address bits. This still
  gives us 1 petabyte of KVA, so no worries.

Modified:
  head/sys/ia64/include/vmparam.h

Modified: head/sys/ia64/include/vmparam.h
==============================================================================
--- head/sys/ia64/include/vmparam.h     Mon May  2 17:46:59 2011        
(r221333)
+++ head/sys/ia64/include/vmparam.h     Mon May  2 17:49:05 2011        
(r221334)
@@ -182,7 +182,8 @@
 #define        VM_MIN_ADDRESS          0
 #define        VM_MAXUSER_ADDRESS      IA64_RR_BASE(IA64_VM_MINKERN_REGION)
 #define        VM_MIN_KERNEL_ADDRESS   IA64_RR_BASE(IA64_VM_MINKERN_REGION + 1)
-#define        VM_MAX_KERNEL_ADDRESS   (IA64_RR_BASE(IA64_VM_MINKERN_REGION + 
2) - 1)
+#define        VM_MAX_KERNEL_ADDRESS   \
+               (VM_MIN_KERNEL_ADDRESS + IA64_REGION_GAP_START - 1)
 #define        VM_MAX_ADDRESS          ~0UL
 
 #define        KERNBASE                VM_MAXUSER_ADDRESS
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to