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

Method peek_csr_mtvec

crates/virtual-machine/src/virtual_machine.rs:182–184  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

180struct LoadedElf {
181 bus: SystemBus,
182 start_pc: u64,
183 stack_ptr: u64,
184}
185
186fn load_elf(bytes: &[u8]) -> Result<LoadedElf, VmError> {
187 let elf = ParsedElf::parse(bytes)?;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected