diff options
author | marcel <marcel@FreeBSD.org> | 2011-05-02 17:49:05 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-05-02 17:49:05 +0000 |
commit | 7bd34e01805de6a21f42e05370b5acb490814f99 (patch) | |
tree | 1eddaf0730d3ffc8274d755727d76f2bff78da8a | |
parent | e7bc02a7b162c390ce25fa186e2569ba74f6e03f (diff) | |
download | FreeBSD-src-7bd34e01805de6a21f42e05370b5acb490814f99.zip FreeBSD-src-7bd34e01805de6a21f42e05370b5acb490814f99.tar.gz |
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.
-rw-r--r-- | sys/ia64/include/vmparam.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ia64/include/vmparam.h b/sys/ia64/include/vmparam.h index 8cf3130..e93ca1b 100644 --- a/sys/ia64/include/vmparam.h +++ b/sys/ia64/include/vmparam.h @@ -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 |