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

Function rt_hw_cpu_dcache_invalidate

libcpu/mips/gs264/cache.c:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void rt_hw_cpu_dcache_invalidate(void *addr, int size)
35{
36 rt_uint64_t line_size = rt_cpu_dcache_line_size();
37 rt_uint64_t start_addr = (rt_uint64_t)addr;
38 rt_uint64_t end_addr = (rt_uint64_t) addr + size + line_size - 1;
39}
40
41void rt_hw_cpu_dcache_clean(void *addr, int size)
42{

Callers 15

rt_hw_cpu_dcache_opsFunction · 0.70
usb_dcache_invalidateFunction · 0.50
rt_hw_cpu_dcache_opsFunction · 0.50
_k230_pdma_llt_calFunction · 0.50
hdmi_fb_initFunction · 0.50
sdhci_send_data_cmdFunction · 0.50
designware_eth_sendFunction · 0.50
designware_eth_recvFunction · 0.50
rt_hw_cpu_dcache_opsFunction · 0.50
nu_sdh_requestFunction · 0.50

Calls 1

rt_cpu_dcache_line_sizeFunction · 0.85

Tested by 4

_illegal_instrFunction · 0.40
_test_dcache_cleanFunction · 0.40
_test_dcache_invalidateFunction · 0.40