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

Function cpu_flush_dcache

freebsd/arm/arm/machdep.c:220–225  ·  view source on GitHub ↗

* Flush the D-cache for non-DMA I/O so that the I-cache can * be made coherent later. */

Source from the content-addressed store, hash-verified

218 * be made coherent later.
219 */
220void
221cpu_flush_dcache(void *ptr, size_t len)
222{
223
224 dcache_wb_poc((vm_offset_t)ptr, (vm_paddr_t)vtophys(ptr), len);
225}
226
227/* Get current clock frequency for the given cpu id. */
228int

Callers

nothing calls this directly

Calls 1

dcache_wb_pocFunction · 0.85

Tested by

no test coverage detected