()
| 324 | // --- Trap handler source content --- |
| 325 | |
| 326 | #[test] |
| 327 | fn 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] |
| 335 | fn trap_handler_advances_sepc_on_umode_ecall() { |
| 336 | assert!( |
nothing calls this directly
no test coverage detected