diff options
author | Frans Kaashoek <[email protected]> | 2018-10-09 14:28:54 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2018-10-09 14:28:54 -0400 |
commit | 54e6f829e4019e10734588b9ba63c2c186c94f8e (patch) | |
tree | c4fae7ef568183e9566d69fb6f563c218c12819b /defs.h | |
parent | f241e67d911d790376de26698f8bf8ba02550212 (diff) | |
download | xv6-labs-54e6f829e4019e10734588b9ba63c2c186c94f8e.tar.gz xv6-labs-54e6f829e4019e10734588b9ba63c2c186c94f8e.tar.bz2 xv6-labs-54e6f829e4019e10734588b9ba63c2c186c94f8e.zip |
Separate system call path from trap path. Passes usertests on 1 and 2 cpus.
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |