Searched refs:gPhysSize (Results 1 – 9 of 9) sorted by relevance
| /xnu-8019.80.24/osfmk/arm/ |
| H A D | arm_vm_init.c | 85 unsigned long gVirtBase, gPhysBase, gPhysSize; /* Used by <mach/arm/vm_param.h> */ variable 419 gPhysSize = args->memSize; in arm_vm_init() 455 tte_limit = &cpu_tte[ttenum(gPhysBase + gPhysSize)]; in arm_vm_init() 459 if (gPhysBase + gPhysSize > gVirtBase) { in arm_vm_init() 463 if (gPhysBase < gVirtBase + gPhysSize) { in arm_vm_init() 464 tte = &cpu_tte[ttenum(gVirtBase + gPhysSize)]; in arm_vm_init()
|
| H A D | globals_asm.h | 34 LOAD_ADDR_GEN_DEF(gPhysSize)
|
| H A D | machine_routines.c | 757 …assertf(((vm_address_t)(vaddr) - gVirtBase) < gPhysSize, "%s: illegal vaddr: %p", __func__, (void*… in ml_static_vtop() 771 vm_size_t len = gPhysSize - (pa - gPhysBase); in phystokv_range() 775 assertf((pa - gPhysBase) < gPhysSize, "%s: illegal PA: 0x%lx", __func__, (unsigned long)pa); in phystokv_range()
|
| /xnu-8019.80.24/osfmk/mach/arm/ |
| H A D | vm_param.h | 299 extern unsigned long gVirtBase, gPhysBase, gPhysSize; 301 #define isphysmem(a) (((vm_address_t)(a) - gPhysBase) < gPhysSize)
|
| /xnu-8019.80.24/osfmk/arm64/ |
| H A D | hibernate_arm64.c | 102 set_dram_range(&dram_ranges[0], gPhysBase, gPhysSize); in hibernate_page_list_allocate()
|
| H A D | arm_vm_init.c | 128 SECURITY_READ_ONLY_LATE(unsigned long) gPhysSize; 403 if (__improbable((va < gVirtBase) || (((vm_address_t)(va) - gVirtBase) >= gPhysSize))) { in ml_static_vtop() 405 (void*)va, (unsigned long long)gVirtBase, (unsigned long long)gPhysSize); in ml_static_vtop() 1819 gPhysSize = mem_size = ((gPhysBase + args->memSize) & ~PAGE_MASK) - gPhysBase; in arm_vm_init()
|
| /xnu-8019.80.24/iokit/Kernel/ |
| H A D | IOLib.cpp | 628 extern unsigned long gPhysBase, gPhysSize; 672 if (maxPhys >= (mach_vm_address_t)(gPhysBase + gPhysSize)) { in IOKernelAllocateWithPhysicalRestrict()
|
| H A D | IOHibernateIO.cpp | 1924 extern unsigned long gPhysBase, gPhysSize; in hibernate_write_image() 1932 (physAddr + size <= gPhysBase + gPhysSize)) { in hibernate_write_image()
|
| /xnu-8019.80.24/osfmk/tests/ |
| H A D | kernel_tests.c | 781 extern unsigned long gPhysBase, gPhysSize, first_avail; 864 T_ASSERT_LT_ULONG(pa, gPhysBase + gPhysSize, NULL); in pmap_coredump_test()
|