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

Method take_syscon_exit

crates/virtual-machine/src/bus.rs:274–276  ·  view source on GitHub ↗

Drain and return the SYSCON exit code, if `sys_exit` was called.

(&mut self)

Source from the content-addressed store, hash-verified

272 clint: self.clint.clone(),
273 plic: self.plic.clone(),
274 framebuffer: self.framebuffer.clone(),
275 keyboard: self.keyboard.clone(),
276 syscon_exit: self.syscon_exit,
277 }
278 }
279

Callers 3

stepMethod · 0.80
runMethod · 0.80
run_nFunction · 0.80

Calls

no outgoing calls

Tested by 1

run_nFunction · 0.64