mirror of
https://github.com/LearningOS/lab0-0-setup-env-run-os1-d0zingcat.git
synced 2026-06-07 15:10:23 +00:00
Initial commit
This commit is contained in:
6
os2-ref/src/syscall/process.rs
Normal file
6
os2-ref/src/syscall/process.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
use crate::batch::run_next_app;
|
||||
|
||||
pub fn sys_exit(exit_code: i32) -> ! {
|
||||
info!("[kernel] Application exited with code {}", exit_code);
|
||||
run_next_app()
|
||||
}
|
||||
Reference in New Issue
Block a user