summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
Separate system call path from trap path. Passes usertests on 1 and 2 cpus.
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/defs.h b/defs.h
index fd9ecb4..763eb75 100644
--- a/defs.h
+++ b/defs.h
@@ -9,6 +9,7 @@ struct spinlock;
struct sleeplock;
struct stat;
struct superblock;
+struct sysframe;
// bio.c
void binit(void);
@@ -156,7 +157,7 @@ int argaddr(int, uint64 *);
int fetchint(uint64, int*);
int fetchstr(uint64, char**);
int fetchaddr(uint64, uint64*);
-void syscall(void);
+void syscall(struct sysframe*);
// timer.c
void timerinit(void);