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

Function test_panic_handler

src/lib.rs:117–123  ·  view source on GitHub ↗
(info: &PanicInfo)

Source from the content-addressed store, hash-verified

115}
116
117pub fn test_panic_handler(info: &PanicInfo) -> !
118{
119 serprintln!("[FAILURE]\n");
120 serprintln!("[ERR]: {}\n", info);
121 exitqemu(QEMUExitCode::Failure);
122 hltloop();
123}
124
125// This section provides the kernel wth the StableDeref trait.
126

Callers 6

panicFunction · 0.85
panicFunction · 0.85
panicFunction · 0.85
panicFunction · 0.85
panicFunction · 0.85
panicFunction · 0.85

Calls 2

exitqemuFunction · 0.85
hltloopFunction · 0.85

Tested by

no test coverage detected