Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/vmparam.h
Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Lines | |||||
#define KERNBASE (VM_MIN_KERNEL_ADDRESS) | #define KERNBASE (VM_MIN_KERNEL_ADDRESS) | ||||
#define SHAREDPAGE (VM_MAXUSER_ADDRESS - PAGE_SIZE) | #define SHAREDPAGE (VM_MAXUSER_ADDRESS - PAGE_SIZE) | ||||
#define USRSTACK SHAREDPAGE | #define USRSTACK SHAREDPAGE | ||||
/* | /* | ||||
* How many physical pages per kmem arena virtual page. | * How many physical pages per kmem arena virtual page. | ||||
*/ | */ | ||||
#ifndef VM_KMEM_SIZE_SCALE | #ifndef VM_KMEM_SIZE_SCALE | ||||
#define VM_KMEM_SIZE_SCALE (3) | #define VM_KMEM_SIZE_SCALE (1) | ||||
#endif | |||||
/* | |||||
* Optional floor (in bytes) on the size of the kmem arena. | |||||
*/ | |||||
#ifndef VM_KMEM_SIZE_MIN | |||||
#define VM_KMEM_SIZE_MIN (16 * 1024 * 1024) | |||||
#endif | #endif | ||||
/* | /* | ||||
* Optional ceiling (in bytes) on the size of the kmem arena: 60% of the | * Optional ceiling (in bytes) on the size of the kmem arena: 60% of the | ||||
* kernel map. | * kernel map. | ||||
*/ | */ | ||||
#ifndef VM_KMEM_SIZE_MAX | #ifndef VM_KMEM_SIZE_MAX | ||||
#define VM_KMEM_SIZE_MAX ((VM_MAX_KERNEL_ADDRESS - \ | #define VM_KMEM_SIZE_MAX ((VM_MAX_KERNEL_ADDRESS - \ | ||||
Show All 37 Lines |