Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/vmparam.h
Show First 20 Lines • Show All 150 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
#define VM_MIN_ADDRESS (0x0000000000000000UL) | #define VM_MIN_ADDRESS (0x0000000000000000UL) | ||||
#define VM_MAX_ADDRESS (0xffffffffffffffffUL) | #define VM_MAX_ADDRESS (0xffffffffffffffffUL) | ||||
/* 512 GiB of kernel addresses */ | /* 512 GiB of kernel addresses */ | ||||
#define VM_MIN_KERNEL_ADDRESS (0xffff000000000000UL) | #define VM_MIN_KERNEL_ADDRESS (0xffff000000000000UL) | ||||
#define VM_MAX_KERNEL_ADDRESS (0xffff008000000000UL) | #define VM_MAX_KERNEL_ADDRESS (0xffff008000000000UL) | ||||
/* If true addr is in the kernel address space */ | |||||
#define ADDR_IS_KERNEL(addr) (((addr) & (1ul << 55)) == (1ul << 55)) | |||||
/* If true addr is in it's canonical form (i.e. no TBI, PAC, etc.) */ | |||||
alc: This "it's" should be "its". | |||||
#define ADDR_IS_CANONICAL(addr) \ | |||||
(((addr) & 0xffff000000000000UL) == 0 || \ | |||||
((addr) & 0xffff000000000000UL) == 0xffff000000000000UL) | |||||
/* 95 TiB maximum for the direct map region */ | /* 95 TiB maximum for the direct map region */ | ||||
#define DMAP_MIN_ADDRESS (0xffffa00000000000UL) | #define DMAP_MIN_ADDRESS (0xffffa00000000000UL) | ||||
#define DMAP_MAX_ADDRESS (0xffffff0000000000UL) | #define DMAP_MAX_ADDRESS (0xffffff0000000000UL) | ||||
#define DMAP_MIN_PHYSADDR (dmap_phys_base) | #define DMAP_MIN_PHYSADDR (dmap_phys_base) | ||||
#define DMAP_MAX_PHYSADDR (dmap_phys_max) | #define DMAP_MAX_PHYSADDR (dmap_phys_max) | ||||
/* True if pa is in the dmap range */ | /* True if pa is in the dmap range */ | ||||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |
This "it's" should be "its".