/darwin-on-arm/xnu/osfmk/i386/ |
H A D | hibernate_restore.c | 64 pal_hib_map(uintptr_t virt, uint64_t phys) argument 83 virt += (uintptr_t)(phys & I386_LPGMASK); 84 phys = ((phys & ~((uint64_t)I386_LPGMASK)) | INTEL_PTE_PS | INTEL_PTE_VALID | INTEL_PTE_WRITE); 85 if (phys == BootPTD[index]) return (virt); 86 BootPTD[index] = phys; 88 BootPTD[index + 1] = (phys + I386_LPGBYTES);
|
H A D | loose_ends.c | 90 extern void invalidate_icache64(addr64_t addr, unsigned cnt, int phys); 91 extern void flush_dcache64(addr64_t addr, unsigned count, int phys); 638 flush_dcache64(addr64_t addr, unsigned count, int phys) argument 640 if (phys) { 658 __unused int phys) 656 invalidate_icache64(__unused addr64_t addr, __unused unsigned count, __unused int phys) argument
|
H A D | pmap.h | 510 pmap_paddr_t pdirbase; /* phys. address of dirbase */ 525 ledger_t ledger; /* ledger tracking phys mappings */ 673 * Get cache attributes (as pagetable bits) for the specified phys page 692 extern void invalidate_icache(vm_offset_t addr, unsigned cnt, int phys); 693 extern void flush_dcache(vm_offset_t addr, unsigned count, int phys);
|
H A D | pmap_internal.h | 79 ppnum_t phys, 414 * (coming in by phys ppn) take a lock on the corresponding pv and then 905 ppnum_t phys, 908 ppnum_t phys,
|
H A D | pmap.c | 1650 * Remove phys addr if mapped in specified map 2271 __unused int phys) 2278 __unused int phys) 2766 "kern_pdptp=%p (phys=0x%016llx)\n" 2772 "user_pdptp=%p (phys=0x%016llx)\n" 2269 invalidate_icache(__unused vm_offset_t addr, __unused unsigned cnt, __unused int phys) argument 2276 flush_dcache(__unused vm_offset_t addr, __unused unsigned count, __unused int phys) argument
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | pmap.h | 256 extern void flush_dcache(vm_offset_t va, unsigned length, boolean_t phys); 257 extern void flush_dcache64(addr64_t va, unsigned length, boolean_t phys); 258 extern void invalidate_dcache(vm_offset_t va, unsigned length, boolean_t phys); 259 extern void invalidate_dcache64(addr64_t va, unsigned length, boolean_t phys); 260 extern void invalidate_icache(vm_offset_t va, unsigned length, boolean_t phys); 261 extern void invalidate_icache64(addr64_t va, unsigned length, boolean_t phys);
|
H A D | pmap.c | 1854 boolean_t pmap_verify_free(vm_offset_t phys) argument 1860 assert(phys != vm_page_fictitious_addr); 1864 if (!pmap_valid_page(phys)) 1867 pv_h = pai_to_pvh(phys); 1983 boolean_t pmap_is_modified(vm_offset_t phys) argument 1985 return (phys_attribute_test(phys, PMAP_OSPTE_TYPE_MODIFIED)); 1994 boolean_t pmap_is_referenced(vm_offset_t phys) argument 1996 return (phys_attribute_test(phys, PMAP_OSPTE_TYPE_REFERENCED));
|
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IODeviceTreeSupport.h | 89 IOPhysicalAddress * phys, IOPhysicalLength * len );
|
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | loose_ends.c | 90 extern void invalidate_icache64(addr64_t addr, unsigned cnt, int phys); 91 extern void flush_dcache64(addr64_t addr, unsigned count, int phys); 579 flush_dcache64(addr64_t addr, unsigned count, int phys) argument 581 if (phys) { 599 __unused int phys) 597 invalidate_icache64(__unused addr64_t addr, __unused unsigned count, __unused int phys) argument
|
H A D | pmap.c | 1227 * Remove phys addr if mapped in specified map 1878 __unused int phys) 1886 __unused int phys) 1876 invalidate_icache(__unused vm_offset_t addr, __unused unsigned cnt, __unused int phys) argument 1884 flush_dcache(__unused vm_offset_t addr, __unused unsigned count, __unused int phys) argument
|
/darwin-on-arm/xnu/bsd/dev/ |
H A D | memdev.c | 178 dev_t mdevadd(int devid, uint64_t base, unsigned int size, int phys); 438 int devid, phys; local 449 phys = 0; /* Assume virtual memory device */ 461 if(ba[0] == 'p') phys = 1; /* Set physical memory disk */ 479 dev = mdevadd(devid, base >> 12, (unsigned)size >> 12, phys); /* Go add the device */ 546 dev_t mdevadd(int devid, uint64_t base, unsigned int size, int phys) { argument 612 if(phys) mdev[devid].mdFlags |= mdPhys; /* Show that we are in physical memory */
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IODeviceTreeSupport.cpp | 953 IOPhysicalAddress * phys, IOPhysicalLength * len ) 994 *phys = IOPhysical32( cell[ childAddressCells - 1 ], cell [ childAddressCells - 2 ]); 996 *phys = IOPhysical32( 0, cell[ childAddressCells - 1 ]); 998 *phys += offset; 1116 IOPhysicalAddress phys; local 1139 if( IODTResolveAddressCell( parentEntry, reg, &phys, &len )) { 1143 phys - parent->getPhysicalSegment(0, 0, kIOMemoryMapperNone), len ); 1145 range = IODeviceMemory::withRange( phys, len ); 951 IODTResolveAddressCell( IORegistryEntry * regEntry, UInt32 cellsIn[], IOPhysicalAddress * phys, IOPhysicalLength * len ) argument
|
H A D | IOMemoryDescriptor.cpp | 2029 ppnum_t phys; 2040 phys = pmap_find_phys(kernel_pmap, ((addr64_t)offset) + ptoa_64(page)); 2041 if (!phys) 2043 page_list[page].phys_addr = phys; 2049 if (phys > highestPage) 2050 highestPage = phys; 2318 addr64_t phys, align, pageOffset; 2336 phys = walkArgs->fIOVMAddr; 2339 align = (phys & page_mask); 2360 phys [all...] |
H A D | IODMACommand.cpp | 1052 addr64_t phys = const_cast<IOMemoryDescriptor *>(fMemory)->getPhysicalSegment(checkOffset + offset, &segLen, kIOMemoryMapperNone); 1053 if (fMapper->mapAddr(state->fIOVMAddr + checkOffset) != phys) 1055 panic("%llx != %llx:%llx, %llx phys: %llx %llx\n", offset, 1057 phys, checkOffset); 1059 checkOffset += page_size - (phys & page_mask);
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | pmap.h | 232 ppnum_t phys, 267 ppnum_t phys);
|
/darwin-on-arm/xnu/iokit/bsddev/ |
H A D | IOKitBSDInit.cpp | 49 extern dev_t mdevadd(int devid, uint64_t base, unsigned int size, int phys);
|