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

@@ -63,6 +63,7 @@ void ramdiskrw(struct buf *);
void *kalloc(void);
void kfree(void *);
void kinit(void);
int freemem(void);
// log.c
void initlog(int, struct superblock *);
@@ -106,6 +107,7 @@ void yield(void);
int either_copyout(int user_dst, uint64 dst, void *src, uint64 len);
int either_copyin(void *dst, int user_src, uint64 src, uint64 len);
void procdump(void);
int proc_size(void);
// swtch.S
void swtch(struct context *, struct context *);