diff options
Diffstat (limited to 'sys/ia64/include/vmparam.h')
-rw-r--r-- | sys/ia64/include/vmparam.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/ia64/include/vmparam.h b/sys/ia64/include/vmparam.h index b9004db..69480a3 100644 --- a/sys/ia64/include/vmparam.h +++ b/sys/ia64/include/vmparam.h @@ -50,11 +50,10 @@ /* * USRTEXT is the start of the user text/data space, while USRSTACK * is the top (end) of the user stack. Immediately above the user stack - * resides the user structure, which is UPAGES long and contains the - * kernel stack. + * resides the syscall gateway page. */ #define USRTEXT CLBYTES -#define USRSTACK VM_MAXUSER_ADDRESS +#define USRSTACK VM_MAX_ADDRESS /* * Virtual memory related constants, all in bytes @@ -140,12 +139,13 @@ /* user/kernel map constants */ #define VM_MIN_ADDRESS 0 -#define VM_MAXUSER_ADDRESS IA64_RR_BASE(5) -#define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS -#define VM_MIN_KERNEL_ADDRESS IA64_RR_BASE(5) +#define VM_MAX_ADDRESS IA64_RR_BASE(5) +#define VM_GATEWAY_SIZE PAGE_SIZE +#define VM_MAXUSER_ADDRESS (VM_MAX_ADDRESS + VM_GATEWAY_SIZE) +#define VM_MIN_KERNEL_ADDRESS VM_MAXUSER_ADDRESS #define VM_MAX_KERNEL_ADDRESS (IA64_RR_BASE(6) - 1) -#define KERNBASE (VM_MIN_KERNEL_ADDRESS) +#define KERNBASE VM_MAX_ADDRESS /* virtual sizes (bytes) for various kernel submaps */ #ifndef VM_KMEM_SIZE |