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

Method read_byte

crates/virtual-machine/src/bus.rs:281–284  ·  view source on GitHub ↗
(&mut self, addr: u64)

Source from the content-addressed store, hash-verified

279
280 /// Restore MMIO device state from a snapshot.
281 pub fn restore_device_state(&mut self, state: &DeviceState) {
282 self.uart = state.uart.clone();
283 self.clint = state.clint.clone();
284 self.plic = state.plic.clone();
285 self.framebuffer = state.framebuffer.clone();
286 self.keyboard = state.keyboard.clone();
287 self.syscon_exit = state.syscon_exit;

Callers 1

peek_bytesMethod · 0.45

Calls 1

routeMethod · 0.80

Tested by

no test coverage detected