Add comment.

ch2-dev
Yifan Wu 4 years ago
parent bcaf55687e
commit 3e87558e5d

@ -116,6 +116,8 @@ pub fn run_next_app() -> ! {
}
app_manager.move_to_next_app();
drop(app_manager);
// before this we have to drop local variables related to resources manually
// and release the resources
extern "C" { fn __restore(cx_addr: usize); }
unsafe {
__restore(KERNEL_STACK.push_context(

Loading…
Cancel
Save