Skip to main content

Module panic

Module panic 

Source
Expand description

Kernel panic paths: kernel_panic for explicit kernel panics and the required #[panic_handler] for language-level panics.

Authors: MarioS271

Staticsยง

KERNEL_PANIC_TRIGERRED ๐Ÿ”’
Prevents infinite panic re-entry on the kernel_panic path.
RUST_PANIC_TRIGERRED ๐Ÿ”’
Prevents infinite panic re-entry on the #[panic_handler] path.

Functionsยง

kernel_panic
Halt the kernel with a diagnostic message; re-entrant calls skip straight to the halt loop.
panic ๐Ÿ”’
Rustโ€™s required #[panic_handler] for language-level panics.