Function os::task::processor::current_trap_cx
source · pub fn current_trap_cx() -> &'static mut TrapContext
Expand description
Get the mutable reference to trap context of current task
pub fn current_trap_cx() -> &'static mut TrapContext
Get the mutable reference to trap context of current task