Function kernel::debug::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.