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

Class CacheParams

crates/virtual-machine/src/memory/cache.rs:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6use crate::memory::{MemoryAccess, PeekByteRaw, RamImage};
7
8pub struct CacheParams {
9 pub size: usize,
10 pub block_size: usize,
11 pub associativity: usize,
12 pub write_back: bool,
13 pub read_only: bool,
14}
15
16struct CacheLine {
17 valid: bool,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected