Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
277
pub 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
testexec
Function · 0.85
test_panic_handler
Function · 0.85
test_double_fault_handler
Function · 0.85
_start
Function · 0.85
panic
Function · 0.85
Calls
1
write
Method · 0.45
Tested by
2
test_panic_handler
Function · 0.68
test_double_fault_handler
Function · 0.68