Function kernel::debug::panic[][src]

pub unsafe fn panic<L: Led, W: Write + IoWrite, C: Chip>(
    leds: &mut [&L],
    writer: &mut W,
    panic_info: &PanicInfo<'_>,
    nop: &dyn Fn(),
    processes: &'static [Option<&'static dyn Process>],
    chip: &'static Option<&'static C>
) -> !
Expand description

Tock default panic routine.

NOTE: The supplied writer must be synchronous.