Home
last modified time | relevance | path

Searched refs:gPhysSize (Results 1 – 9 of 9) sorted by relevance

/xnu-8019.80.24/osfmk/arm/
H A Darm_vm_init.c85 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 Dglobals_asm.h34 LOAD_ADDR_GEN_DEF(gPhysSize)
H A Dmachine_routines.c757 …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 Dvm_param.h299 extern unsigned long gVirtBase, gPhysBase, gPhysSize;
301 #define isphysmem(a) (((vm_address_t)(a) - gPhysBase) < gPhysSize)
/xnu-8019.80.24/osfmk/arm64/
H A Dhibernate_arm64.c102 set_dram_range(&dram_ranges[0], gPhysBase, gPhysSize); in hibernate_page_list_allocate()
H A Darm_vm_init.c128 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 DIOLib.cpp628 extern unsigned long gPhysBase, gPhysSize;
672 if (maxPhys >= (mach_vm_address_t)(gPhysBase + gPhysSize)) { in IOKernelAllocateWithPhysicalRestrict()
H A DIOHibernateIO.cpp1924 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 Dkernel_tests.c781 extern unsigned long gPhysBase, gPhysSize, first_avail;
864 T_ASSERT_LT_ULONG(pa, gPhysBase + gPhysSize, NULL); in pmap_coredump_test()