Run hello_world/power one by one in batch mode.
This commit is contained in:
parent
bae5383602
commit
2ce04bf19f
10 changed files with 74 additions and 26 deletions
6
os/src/syscall/process.rs
Normal file
6
os/src/syscall/process.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
use crate::batch::run_next_app;
|
||||
|
||||
pub fn sys_exit(xstate: i32) -> ! {
|
||||
println!("[kernel] Application exited with code {}", xstate);
|
||||
run_next_app()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue