MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_hw_cpu_icache_ops

Function rt_hw_cpu_icache_ops

libcpu/risc-v/virt64/cache.c:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void rt_hw_cpu_icache_ops(int ops, void *addr, int size)
28{
29 if (ops == RT_HW_CACHE_INVALIDATE)
30 {
31 rt_hw_cpu_icache_invalidate(addr, size);
32 }
33}
34
35void rt_hw_cpu_dcache_ops(int ops, void *addr, int size)
36{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected