/darwin-on-arm/xnu/osfmk/i386/ |
H A D | phys.c | 235 __private_extern__ void ml_copy_phys(addr64_t src64, addr64_t dst64, vm_size_t bytes) { argument 242 src_map = pmap_get_mapwindow((pt_entry_t)(INTEL_PTE_VALID | ((pmap_paddr_t)src64 & PG_FRAME) | INTEL_PTE_REF)); 244 src = (void *) ((uintptr_t)src_map->prv_CADDR | ((uint32_t)src64 & INTEL_OFFMASK)); 252 assert(physmap_enclosed(src64) || physmap_enclosed(dst64)); 254 if (physmap_enclosed(src64) == FALSE) { 255 src = (void *)(debugger_window_kva | (src64 & INTEL_OFFMASK)); 257 debug_pa = src64 & PG_FRAME; 259 src = PHYSMAP_PTOV(src64); 263 src = PHYSMAP_PTOV(src64); 283 if (((((uint32_t)src64 [all...] |
H A D | copyio.c | 522 copypv(addr64_t src64, addr64_t snk64, unsigned int size, int which) argument 527 KERNEL_DEBUG(0xeff7004c | DBG_FUNC_START, (unsigned)src64, 541 if (lop > (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1)))) 542 lop = (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1))); /* No, source is smaller */ 550 lop = (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1))); 566 flush_dcache64(src64, csize, 1); /* If requested, flush source before move */ 571 bcopy_phys(src64, snk64, csize); /* Do a physical copy, virtually */ 574 if (copyio_phys(src64, snk64, csize, which)) { 580 flush_dcache64(src64, csize, 1); /* If requested, flush source after move */ 586 src64 [all...] |
H A D | loose_ends.c | 111 addr64_t src64, 114 bzero_phys(src64,bytes); 119 addr64_t src64, 126 map = pmap_get_mapwindow((pt_entry_t)(INTEL_PTE_VALID | INTEL_PTE_RW | ((pmap_paddr_t)src64 & PG_FRAME) | INTEL_PTE_REF | INTEL_PTE_MOD)); 128 bzero((void *)((uintptr_t)map->prv_CADDR | ((uint32_t)src64 & INTEL_OFFMASK)), bytes); 142 addr64_t src64, 149 if ( ((((uint32_t)src64 & (NBPG-1)) + bytes) > NBPG) || ((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) { 154 src_map = pmap_get_mapwindow((pt_entry_t)(INTEL_PTE_VALID | ((pmap_paddr_t)src64 & PG_FRAME) | INTEL_PTE_REF)); 158 bcopy((void *) ((uintptr_t)src_map->prv_CADDR | ((uint32_t)src64 & INTEL_OFFMASK)), 110 bzero_phys_nc( addr64_t src64, uint32_t bytes) argument 118 bzero_phys( addr64_t src64, uint32_t bytes) argument 141 bcopy_phys( addr64_t src64, addr64_t dst64, vm_size_t bytes) argument
|
H A D | misc_protos.h | 111 extern int apply_func_phys(addr64_t src64, vm_size_t bytes, int (*func)(void * buffer, vm_size_t bytes, void * arg), void * arg);
|
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | copyio.c | 283 copypv(addr64_t src64, addr64_t snk64, unsigned int size, int which) argument 288 KERNEL_DEBUG(0xeff7004c | DBG_FUNC_START, (unsigned)src64, 302 if (lop > (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1)))) 303 lop = (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1))); /* No, source is smaller */ 311 lop = (unsigned int)(PAGE_SIZE - (src64 & (PAGE_SIZE - 1))); 327 flush_dcache64(src64, csize, 1); /* If requested, flush source before move */ 332 bcopy_phys(src64, snk64, csize); /* Do a physical copy, virtually */ 334 if (copyio_phys(src64, snk64, csize, which)) 339 flush_dcache64(src64, csize, 1); /* If requested, flush source after move */ 345 src64 [all...] |
H A D | loose_ends.c | 163 addr64_t src64, 166 bzero_phys(src64,bytes); 171 addr64_t src64, 174 bzero(PHYSMAP_PTOV(src64), bytes); 184 addr64_t src64, 189 if (((((uint32_t)src64 & (NBPG-1)) + bytes) > NBPG) || 193 bcopy(PHYSMAP_PTOV(src64), PHYSMAP_PTOV(dst64), bytes); 162 bzero_phys_nc( addr64_t src64, uint32_t bytes) argument 170 bzero_phys( addr64_t src64, uint32_t bytes) argument 183 bcopy_phys( addr64_t src64, addr64_t dst64, vm_size_t bytes) argument
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | loose_ends.c | 415 kern_return_t copypv(addr64_t src64, addr64_t snk64, unsigned int size, int which) argument 430 src64 = phys_to_virt(src64); 439 copyout(src64, snk64, size); 441 copyin(src64, snk64, size); 443 bcopy(src64, snk64, size); 448 void bzero_phys_nc(addr64_t src64, uint32_t bytes) argument 450 bzero_phys(src64, bytes);
|
H A D | machine_routines.c | 205 void bzero_phys(addr64_t src64, uint32_t bytes) argument 208 bzero(phys_to_virt((uint32_t) src64), bytes); 210 bzero(phys_to_virt((uint64_t) src64), bytes); 220 void bcopy_phys(addr64_t src64, addr64_t dst64, vm_size_t bytes) argument 223 bcopy(phys_to_virt((uint32_t) src64), phys_to_virt((uint32_t) dst64), bytes); 225 bcopy(phys_to_virt((uint64_t) src64), phys_to_virt((uint64_t) dst64), bytes);
|
H A D | machine_routines.h | 45 void bcopy_phys(addr64_t src64, addr64_t dst64, vm_size_t bytes);
|