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

Function rt_hw_cpu_icache_invalidate

libcpu/mips/gs264/cache.c:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void rt_hw_cpu_icache_invalidate(void *addr, int size)
28{
29 rt_uint64_t line_size = rt_cpu_icache_line_size();
30 rt_uint64_t start_addr = (rt_uint64_t)addr;
31 rt_uint64_t end_addr = (rt_uint64_t) addr + size + line_size - 1;
32}
33
34void rt_hw_cpu_dcache_invalidate(void *addr, int size)
35{

Callers 8

rt_hw_cpu_icache_opsFunction · 0.70
sys_cacheflushFunction · 0.50
rt_hw_cpu_icache_opsFunction · 0.50
rt_hw_cpu_icache_opsFunction · 0.50
rt_hw_cpu_icache_opsFunction · 0.50
rt_hw_cpu_icache_opsFunction · 0.50
_illegal_instrFunction · 0.50

Calls 1

rt_cpu_icache_line_sizeFunction · 0.85

Tested by 2

_illegal_instrFunction · 0.40