Function report

Source
pub fn report(
    panic: &PanicInfo<'_>,
    stack_va_to_pa: impl FnMut(*const ()) -> Option<usize>,
)
Expand description

Reports the panic.

stack_va_to_pa takes an object on the stack and returns its physical address.