Re-exportsยง
pub use context::TrapContext;
Modulesยง
- context ๐
Functionsยง
- disable_
supervisor_ ๐interrupt - enable_
supervisor_ ๐interrupt - enable_
timer_ interrupt - init
- set_
kernel_ ๐trap_ entry - set_
user_ ๐trap_ entry - trap_
from_ kernel - trap_
handler - trap_
return - set the new addr of __restore asm function in TRAMPOLINE page, set the reg a0 = trap_cx_ptr, reg a1 = phy addr of usr page table, finally, jump to new addr of __restore asm function