#[unsafe(no_mangle)]
pub fn trap_handler(cx: &mut TrapContext) -> &mut TrapContextExpand description
handle an interrupt, exception, or system call from user space
#[unsafe(no_mangle)]
pub fn trap_handler(cx: &mut TrapContext) -> &mut TrapContexthandle an interrupt, exception, or system call from user space