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

Method peek_bytes_raw

crates/virtual-machine/src/virtual_machine.rs:234–236  ·  view source on GitHub ↗

Like `peek_bytes` but only needs `&self` (no cache stat side effects). Reads ROM/MMIO directly and bypasses the cache hierarchy for RAM, so the debug view always reflects physical memory. Safe to call every frame.

(&self, addr: u64, len: usize)

Source from the content-addressed store, hash-verified

232
233 bus.cold_cache_reset();
234
235 let stack_ptr = RAM_BASE + RAM_SIZE_DEFAULT as u64 - 16;
236 Ok(LoadedElf {
237 bus,
238 start_pc: RAM_BASE + (elf.entry_point - image_base),
239 stack_ptr,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected