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

Method plic_mut

crates/virtual-machine/src/bus.rs:269–271  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

267
268 /// Clone the MMIO device state for a snapshot.
269 pub fn device_state(&self) -> DeviceState {
270 DeviceState {
271 uart: self.uart.clone(),
272 clint: self.clint.clone(),
273 plic: self.plic.clone(),
274 framebuffer: self.framebuffer.clone(),

Callers 2

tickMethod · 0.80
bus_plic_mut_accessFunction · 0.80

Calls

no outgoing calls

Tested by 1

bus_plic_mut_accessFunction · 0.64