MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / exitqemu

Function exitqemu

src/lib.rs:277–285  ·  view source on GitHub ↗
(exitcode: QEMUExitCode)

Source from the content-addressed store, hash-verified

275}
276
277pub fn exitqemu(exitcode: QEMUExitCode)
278{
279 use x86_64::instructions::port::Port;
280 unsafe
281 {
282 let mut port = Port::new(0xf4);
283 port.write(exitcode as u32);
284 }
285}

Callers 5

testexecFunction · 0.85
test_panic_handlerFunction · 0.85
_startFunction · 0.85
panicFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by 2

test_panic_handlerFunction · 0.68