syscall lab finished

This commit is contained in:
2025-03-25 11:36:21 +08:00
parent a087b429df
commit 992f76ca30
11 changed files with 223 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#include "kernel/types.h"
#include "kernel/sysinfo.h"
struct stat;
// system calls
@ -24,6 +25,7 @@ char *sbrk(int);
int sleep(int);
int uptime(void);
int trace(int);
int sysinfo(struct sysinfo*);
// ulib.c
int stat(const char *, struct stat *);