Home
last modified time | relevance | path

Searched refs:PHYSMAP_PTOV (Results 1 – 11 of 11) sorted by relevance

/xnu-11417.121.6/osfmk/x86_64/
H A Dloose_ends.c228 bzero(PHYSMAP_PTOV(src64), bytes); in bzero_phys()
247 bcopy(PHYSMAP_PTOV(src64), PHYSMAP_PTOV(dst64), bytes); in bcopy_phys()
266 return func(PHYSMAP_PTOV(dst64), bytes, arg); in apply_func_phys()
338 s1 = *(volatile unsigned char *)PHYSMAP_PTOV(paddr); in ml_phys_read_data()
342 s2 = *(volatile unsigned short *)PHYSMAP_PTOV(paddr); in ml_phys_read_data()
346 result = *(volatile unsigned int *)PHYSMAP_PTOV(paddr); in ml_phys_read_data()
349 result = *(volatile unsigned long long *)PHYSMAP_PTOV(paddr); in ml_phys_read_data()
480 *(volatile unsigned char *)PHYSMAP_PTOV(paddr) = (unsigned char)data; in ml_phys_write_data()
483 *(volatile unsigned short *)PHYSMAP_PTOV(paddr) = (unsigned short)data; in ml_phys_write_data()
486 *(volatile unsigned int *)PHYSMAP_PTOV(paddr) = (unsigned int)data; in ml_phys_write_data()
[all …]
H A Dcopyio.c295 PHYSMAP_PTOV(kernel_addr), in copyio()
300 error = _bcopy((const void *) PHYSMAP_PTOV(kernel_addr), in copyio()
408 CALL_COPYOUT_SHIM_PHYS((void *)PHYSMAP_PTOV(source), sink, csize) in copyio_phys()
H A Dpmap.c3472 va = (uint8_t *)PHYSMAP_PTOV(pa); in pmap_test_text_corruption()
/xnu-11417.121.6/osfmk/i386/
H A Dphys.c227 dst = PHYSMAP_PTOV(dst64); in ml_copy_phys()
230 src = PHYSMAP_PTOV(src64); in ml_copy_phys()
234 src = PHYSMAP_PTOV(src64); in ml_copy_phys()
235 dst = PHYSMAP_PTOV(dst64); in ml_copy_phys()
H A Dacpi.c589 (ACPI_TABLE_HEADER *)PHYSMAP_PTOV( \
641 rsdp = PHYSMAP_PTOV(rsdp_physaddr); in acpi_find_table()
666 xsdtp = PHYSMAP_PTOV(rsdp->XsdtPhysicalAddress); in acpi_find_table()
680 rsdtp = PHYSMAP_PTOV((uintptr_t)rsdp->RsdtPhysicalAddress); in acpi_find_table()
H A Dpmap_internal.h1158 return PHYSMAP_PTOV(&((pml4_entry_t *)pmap->pm_cr3)[(vaddr >> PML4SHIFT) & (NPML4PG - 1)]); in pmap64_pml4()
1173 return PHYSMAP_PTOV(&((pml4_entry_t *)pmap->pm_ucr3)[(vaddr >> PML4SHIFT) & (NPML4PG - 1)]); in pmap64_user_pml4()
1194 return &((pdpt_entry_t *) PHYSMAP_PTOV(newpf)) in pmap64_pdpt()
1207 return &((pd_entry_t *) PHYSMAP_PTOV(newpf)) in pmap_pde_internal1()
1262 return &((pt_entry_t *)PHYSMAP_PTOV(newpf)) in pmap_pte_internal()
H A Dpanic_hooks.c190 const EfiMemoryRange *r = PHYSMAP_PTOV((uintptr_t)args->MemoryMap), *closest = NULL; in panic_phys_range_before()
H A Dpmap.h527 #define PHYSMAP_PTOV(x) (PHYSMAP_PTOV_check((void*) (x))) macro
528 #define phystokv(x) ((vm_offset_t)(PHYSMAP_PTOV(x)))
H A Dpmap_x86_common.c2727 return PHYSMAP_PTOV((uint64_t)pn << (uint64_t)PAGE_SHIFT); in pmap_map_compressor_page()
/xnu-11417.121.6/bsd/kern/
H A Dkern_trustcache.c1161 #define PHYSMAP_PTOV(x) (PHYSMAP_PTOV_check((void*) (x))) macro
1162 #define phystokv(x) ((vm_offset_t)(PHYSMAP_PTOV(x)))
/xnu-11417.121.6/osfmk/i386/AT386/
H A Dmodel_dep.c1820 return PHYSMAP_PTOV(efi_efiboot_virtual_to_physical(addr)); in efi_efiboot_virtual_to_physmap_virtual()