Searched refs:GB (Results 1 – 9 of 9) sorted by relevance
| /xnu-12377.81.4/tests/ |
| H A D | jumbo_va_spaces_common.c | 9 #define GB (1ULL * 1024 * 1024 * 1024) macro 28 res = mmap(NULL, 1 * GB, PROT_NONE, MAP_PRIVATE | MAP_ANON, 0, 0); in verify_jumbo_va()
|
| /xnu-12377.81.4/osfmk/mach/i386/ |
| H A D | vm_param.h | 208 #define GB (1024*MB) macro 213 #define K64_MAXMEM (2048*GB)
|
| /xnu-12377.81.4/osfmk/i386/ |
| H A D | pal_hibernate.h | 38 #define DEST_COPY_AREA (4*GB - HIB_MAP_SIZE) /*4GB - 2*2m */
|
| H A D | i386_vm_init.c | 731 sane_size, (uint32_t) (KERNEL_MAXMEM / GB)); in i386_vm_init() 790 max_valid_low_ppnum = (2 * GB) / PAGE_SIZE; in i386_vm_init() 793 max_valid_dma_address = (uint64_t)4 * (uint64_t)GB; in i386_vm_init()
|
| H A D | i386_init.c | 146 uint64_t physmap_max = 4 * GB; 309 highest_physaddr = kernelBootArgs->PhysicalMemorySize + 4 * GB; in physmap_init()
|
| H A D | pmap.h | 459 #define NPHYSMAP (MAX(((physmap_max - physmap_base) / GB), 4)) 511 return a < (NPHYSMAP * GB); in physmap_enclosed()
|
| /xnu-12377.81.4/doc/arm/ |
| H A D | apple_speculative_hardening.md | 374 First, we impose a global `(2GB - PAGE_SIZE)` size limit on virtually contiguous 394 Second, we modify the kernel memory layout to inject 4GB [^8] of unmapped 406 memory access with an offset greater in magnitude than `(2GB - PAGE_SIZE)` is 408 pointer of a magnitude less than 4GB will not leave the submap or submap front 411 the offset of all kernel pointer arithmetic to either ±2GB or ±4GB and be 421 [^9]: Although it is possible for the fronts of a submap to come within 4GB of 423 the difficulty/threat to system stability of spraying >10GB of wired memory 474 of all pointer arithmetic operations to less than 4GB unless the pass can prove 509 smaller than 4GB [^10]: 619 ±2GB (in case of a sign extend) or +4GB (in case of a zero extend). We draw this [all …]
|
| /xnu-12377.81.4/osfmk/x86_64/ |
| H A D | pmap.c | 462 if (sane_size <= 8 * GB) { in pmap_scale_shift() 463 scale = (uint32_t)(sane_size / (2 * GB)); in pmap_scale_shift() 464 } else if (sane_size <= 32 * GB) { in pmap_scale_shift() 465 scale = 4 + (uint32_t)((sane_size - (8 * GB)) / (4 * GB)); in pmap_scale_shift() 467 scale = 10 + (uint32_t)MIN(4, ((sane_size - (32 * GB)) / (8 * GB))); in pmap_scale_shift()
|
| /xnu-12377.81.4/doc/vm/ |
| H A D | memorystatus.md | 121 …ys be accurate down to a page level. On our larger memory systems (8 and 16GB iPads in particular)…
|