diff options
author | Mole Shang <[email protected]> | 2024-01-18 17:35:27 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2024-01-18 17:35:27 +0800 |
commit | 493159b9bb1a764926daa49fb09bff8f29e8e9e5 (patch) | |
tree | bcae49e20df0ab9d86dab9bd10226807cc432f88 /user/user.h | |
parent | 33ca12a4653752d179e6296c7ca2f91a626d30f3 (diff) | |
download | xv6-labs-493159b9bb1a764926daa49fb09bff8f29e8e9e5.tar.gz xv6-labs-493159b9bb1a764926daa49fb09bff8f29e8e9e5.tar.bz2 xv6-labs-493159b9bb1a764926daa49fb09bff8f29e8e9e5.zip |
lab syscall: finishsyscall
Diffstat (limited to 'user/user.h')
-rw-r--r-- | user/user.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user/user.h b/user/user.h index 4d398d5..14f69e5 100644 --- a/user/user.h +++ b/user/user.h @@ -1,4 +1,5 @@ struct stat; +struct sysinfo; // system calls int fork(void); @@ -22,6 +23,8 @@ int getpid(void); char* sbrk(int); int sleep(int); int uptime(void); +int trace(int); +int sysinfo(struct sysinfo*); // ulib.c int stat(const char*, struct stat*); |