kernel::debug

Function panic_begin

Source
pub unsafe fn panic_begin(nop: &dyn Fn())
Expand description

Generic panic entry.

This opaque method should always be called at the beginning of a board’s panic method to allow hooks for any core kernel cleanups that may be appropriate.