mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 22:04:40 +00:00
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.
This commit is contained in:
parent
5d3c20e97c
commit
6dfe4f958f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221334
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue