restore

Function restore 

Source
pub unsafe fn restore(trap_frame: &TrapFrame)
Expand description

恢复到陷阱前的上下文

§Safety

该函数涉及直接操作处理器状态,必须确保传入的 TrapFrame 是有效且正确的。