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

Function rt_hw_cpu_dcache_ops

libcpu/aarch64/common/cache_ops.c:59–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void rt_hw_cpu_dcache_ops(int ops, void *addr, int size)
60{
61 if (ops == RT_HW_CACHE_FLUSH)
62 {
63 rt_hw_cpu_dcache_clean(addr, size);
64 }
65 else if (ops == RT_HW_CACHE_INVALIDATE)
66 {
67 rt_hw_cpu_dcache_invalidate(addr, size);
68 }
69}
70
71rt_base_t rt_hw_cpu_icache_status(void)
72{

Callers 7

cpu_info_initFunction · 0.70
_kenrel_unmap_4KFunction · 0.70
_kernel_map_4KFunction · 0.70
_kernel_map_2MFunction · 0.70
_map_single_page_2MFunction · 0.70
rt_hw_mmu_pgtbl_createFunction · 0.70
arm_gic_redist_initFunction · 0.70

Calls 2

rt_hw_cpu_dcache_cleanFunction · 0.70

Tested by

no test coverage detected