Home
last modified time | relevance | path

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

/xnu-8020.101.4/osfmk/x86_64/
H A Dloose_ends.c230 bzero(PHYSMAP_PTOV(src64), bytes); in bzero_phys()
249 bcopy(PHYSMAP_PTOV(src64), PHYSMAP_PTOV(dst64), bytes); in bcopy_phys()
268 return func(PHYSMAP_PTOV(dst64), bytes, arg); in apply_func_phys()
342 s1 = *(volatile unsigned char *)PHYSMAP_PTOV(paddr); in ml_phys_read_data()
346 s2 = *(volatile unsigned short *)PHYSMAP_PTOV(paddr); in ml_phys_read_data()
350 result = *(volatile unsigned int *)PHYSMAP_PTOV(paddr); in ml_phys_read_data()
353 result = *(volatile unsigned long long *)PHYSMAP_PTOV(paddr); in ml_phys_read_data()
494 *(volatile unsigned char *)PHYSMAP_PTOV(paddr) = (unsigned char)data; in ml_phys_write_data()
497 *(volatile unsigned short *)PHYSMAP_PTOV(paddr) = (unsigned short)data; in ml_phys_write_data()
500 *(volatile unsigned int *)PHYSMAP_PTOV(paddr) = (unsigned int)data; in ml_phys_write_data()
[all …]
H A Dcopyio.c313 PHYSMAP_PTOV(kernel_addr), in copyio()
318 error = _bcopy((const void *) PHYSMAP_PTOV(kernel_addr), in copyio()
426 CALL_COPYOUT_SHIM_PHYS((void *)PHYSMAP_PTOV(source), sink, csize) in copyio_phys()
H A Dpmap.c3617 va = (uint8_t *)PHYSMAP_PTOV(pa); in pmap_test_text_corruption()
/xnu-8020.101.4/osfmk/i386/
H A Dphys.c220 dst = PHYSMAP_PTOV(dst64); in ml_copy_phys()
223 src = PHYSMAP_PTOV(src64); in ml_copy_phys()
227 src = PHYSMAP_PTOV(src64); in ml_copy_phys()
228 dst = PHYSMAP_PTOV(dst64); in ml_copy_phys()
H A Dacpi.c591 (ACPI_TABLE_HEADER *)PHYSMAP_PTOV( \
643 rsdp = PHYSMAP_PTOV(rsdp_physaddr); in acpi_find_table()
668 xsdtp = PHYSMAP_PTOV(rsdp->XsdtPhysicalAddress); in acpi_find_table()
682 rsdtp = PHYSMAP_PTOV((uintptr_t)rsdp->RsdtPhysicalAddress); in acpi_find_table()
H A Dpmap_internal.h1170 return PHYSMAP_PTOV(&((pml4_entry_t *)pmap->pm_cr3)[(vaddr >> PML4SHIFT) & (NPML4PG - 1)]); in pmap64_pml4()
1185 return PHYSMAP_PTOV(&((pml4_entry_t *)pmap->pm_ucr3)[(vaddr >> PML4SHIFT) & (NPML4PG - 1)]); in pmap64_user_pml4()
1206 return &((pdpt_entry_t *) PHYSMAP_PTOV(newpf)) in pmap64_pdpt()
1219 return &((pd_entry_t *) PHYSMAP_PTOV(newpf)) in pmap_pde_internal1()
1274 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.c2674 return PHYSMAP_PTOV((uint64_t)pn << (uint64_t)PAGE_SHIFT); in pmap_map_compressor_page()
/xnu-8020.101.4/osfmk/i386/AT386/
H A Dmodel_dep.c1821 return PHYSMAP_PTOV(efi_efiboot_virtual_to_physical(addr)); in efi_efiboot_virtual_to_physmap_virtual()