[][src]Function sunrise_kernel::panic::kernel_panic

pub fn kernel_panic(panic_origin: &PanicOrigin) -> !

The kernel panic function.

Executed on a panic!, but can also be called directly.

Will print some useful debugging information, and never return.

Takes a panic origin, so we can personalize the kernel panic message.