pub fn kernel_panic(panic_code: PanicCode, panic_message: &str) -> !
Halt the kernel with a diagnostic message; re-entrant calls skip straight to the halt loop.