Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
fslongjin committed Aug 27, 2023
1 parent 2890056 commit bcd5811
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion kernel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ use crate::process::ProcessManager;
// <3>
use crate::{
arch::asm::current::current_pcb,
include::bindings::bindings::{process_do_exit, BLACK, GREEN},
include::bindings::bindings::{BLACK, GREEN},
net::net_core::net_init,
};

Expand Down
2 changes: 0 additions & 2 deletions kernel/src/process/syscall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ impl Syscall {
///
/// - status: 退出状态
pub fn exit(status: usize) -> ! {
// unsafe { process_do_exit(status as u64) };
// loop {}
ProcessManager::exit(status);
}

Expand Down

0 comments on commit bcd5811

Please sign in to comment.