Expand description
CPU 缓存维护操作(D-cache / I-cache)
Functions§
- cache_
init - 初始化缓存参数(读取硬件 cache line size 等)
- clean_
dcache_ area - 将指定区域的 D-cache 写回到内存(不无效化)
- dcache_
line_ size - 返回 D-cache line 大小(字节)
- flush_
dcache_ area - 将指定区域的 D-cache 写回并无效化
- flush_
icache_ all - 无效化全部 I-cache
- flush_
icache_ range - 无效化指定范围的 I-cache
- inval_
dcache_ area - 无效化指定区域的 D-cache(不写回)