MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / cold_cache_reset

Method cold_cache_reset

crates/virtual-machine/src/bus.rs:159–166  ·  view source on GitHub ↗

Flush all dirty cache lines to RAM then invalidate every level cold.

(&mut self)

Source from the content-addressed store, hash-verified

157 size: 256 * 1024, // 256KB
158 block_size: 64,
159 associativity: 8,
160 write_back: true,
161 read_only: false,
162 };
163 let l2_cache = Cache::new(l2_params, l3_cache);
164
165 // L1: 4KB, 64-byte blocks, 2-way set associative
166 let l1_params = CacheParams {
167 size: 4096, // 4KB
168 block_size: 64,
169 associativity: 2,

Callers 2

from_elfMethod · 0.80
write_ramMethod · 0.80

Calls 2

flush_and_invalidateMethod · 0.80
peek_next_mutMethod · 0.80

Tested by

no test coverage detected