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

Function trap_handler_installed_at_boot

crates/os-runtime/tests/boot.rs:326–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

324// --- Trap handler source content ---
325
326#[test]
327fn trap_handler_rearms_timer_on_stip() {
328 assert!(
329 kernel::TRAP_HANDLER.contains("timer_set"),
330 "trap handler must rearm timer on Supervisor Timer Interrupt (cause 5)"
331 );
332}
333
334#[test]
335fn trap_handler_advances_sepc_on_umode_ecall() {
336 assert!(

Callers

nothing calls this directly

Calls 1

run_kernel_hllFunction · 0.70

Tested by

no test coverage detected