Searched refs:gPhysBase (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/osfmk/mach/arm/
H A Dvm_param.h102 extern unsigned long gVirtBase, gPhysBase, gPhysSize;
103 #define isphysmem(a) (((vm_address_t)(a) - gPhysBase) < gPhysSize)
104 #define phystokv(a) ((vm_address_t)(a) - gPhysBase + gVirtBase)
/darwin-on-arm/xnu/osfmk/arm64/
H A Darm64_vm_init.c70 unsigned long gPhysBase = 0x0, gVirtBase = 0x0; variable
H A Dpmap.c79 #define pa_index(pa) (atop(pa - gPhysBase))
/darwin-on-arm/xnu/osfmk/arm/
H A Darm_vm_init.c81 unsigned long gPhysBase = 0x0, gVirtBase = 0x0; variable
323 gPhysBase = args->physBase;
368 l2_map_linear_range(identityCachePA, gPhysBase - sectionOffset,
369 gPhysBase + gMemSize);
402 avail_end = gPhysBase + gMemSize;
H A Dpmap.h192 #define virt_to_phys(p) ((unsigned int)((((unsigned long)(p)) - gVirtBase) + gPhysBase))
193 #define phys_to_virt(p) ((unsigned int)((((unsigned long)(p)) - gPhysBase) + gVirtBase))
H A Dpmap.c473 #define pai_to_pvh(pai) (&pv_head_hash_table[pai - atop(gPhysBase)])
494 #define lock_pvh_pai(pai) bit_lock(pai - atop(gPhysBase), (void *)pv_lock_table)
495 #define unlock_pvh_pai(pai) bit_unlock(pai - atop(gPhysBase), (void *)pv_lock_table)
2455 assert((page->phys_page << PAGE_SHIFT) > gPhysBase);
2456 ctr = (page->phys_page) - (gPhysBase >> PAGE_SHIFT);
3747 m = vm_page_lookup(pmap->pm_obj, (vm_object_offset_t) ((ttb_base >> PAGE_SHIFT) - (gPhysBase >> PAGE_SHIFT)));

Completed in 36 milliseconds