MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dcache_wb_pou

Function dcache_wb_pou

freebsd/arm/include/cpu-v6.h:509–524  ·  view source on GitHub ↗

Write back D-cache to PoU */

Source from the content-addressed store, hash-verified

507
508/* Write back D-cache to PoU */
509static __inline void
510dcache_wb_pou(vm_offset_t va, vm_size_t size)
511{
512 vm_offset_t eva = va + size;
513
514 dsb();
515 va &= ~cpuinfo.dcache_line_mask;
516 for ( ; va < eva; va += cpuinfo.dcache_line_size) {
517#if __ARM_ARCH >= 7
518 _CP15_DCCMVAU(va);
519#else
520 _CP15_DCCMVAC(va);
521#endif
522 }
523 dsb();
524}
525
526/*
527 * Invalidate D-cache to PoC

Callers 7

elf_cpu_load_fileFunction · 0.85
pmap_dcache_wb_pouFunction · 0.85
pmap_sync_icacheFunction · 0.85
pte1_syncFunction · 0.85
pte1_sync_rangeFunction · 0.85
pte2_syncFunction · 0.85
pte2_sync_rangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected