Function islet_rmm::exception::trap::handle_exception
source · #[no_mangle]
pub extern "C" fn handle_exception(
info: Info,
esr: u32,
tf: &mut TrapFrame
)
Expand description
This function is called when an exception occurs from CurrentSPEL0, CurrentSPELx.
The info
parameter specifies source (first 16 bits) and kind (following 16
bits) of the exception.
The esr
has the value of a syndrome register (ESR_ELx) holding the cause
of the Synchronous and SError exception.
The tf
has the TrapFrame of current context.