Skip to content

Commit a0d45ac

Browse files
committed
finish
1 parent c3b042d commit a0d45ac

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

os/src/syscall/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ use process::*;
3434
use crate::sync::UPSafeCell;
3535
use lazy_static::*;
3636

37+
// TODO has been done.
3738
struct History {
3839
syscall_id: usize,
3940
time: usize,

os/src/syscall/process.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub fn sys_get_time(ts: *mut TimeVal, _tz: usize) -> isize {
4040
}
4141

4242
// TODO: implement the syscall
43+
// TODO has been done.
4344
pub fn sys_trace(trace_request: usize, id: usize, data: usize) -> isize {
4445
trace!("kernel: sys_trace");
4546
match trace_request{

0 commit comments

Comments
 (0)