diff options
author | rtm <rtm> | 2007-09-25 16:15:05 +0000 |
---|---|---|
committer | rtm <rtm> | 2007-09-25 16:15:05 +0000 |
commit | 355073ea9e7528e45143efaa9631efcf159a2b68 (patch) | |
tree | 379f1ebbfca98355cd235d4ce3282d974655c0ad | |
parent | 3eda2714e67a499e833ec33bc27f4c6bf45638eb (diff) | |
download | xv6-labs-355073ea9e7528e45143efaa9631efcf159a2b68.tar.gz xv6-labs-355073ea9e7528e45143efaa9631efcf159a2b68.tar.bz2 xv6-labs-355073ea9e7528e45143efaa9631efcf159a2b68.zip |
oops, interrupts on in syscall traps doesn't work after all
-rw-r--r-- | trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ tvinit(void) for(i = 0; i < 256; i++) SETGATE(idt[i], 0, SEG_KCODE<<3, vectors[i], 0); - SETGATE(idt[T_SYSCALL], 1, SEG_KCODE<<3, vectors[T_SYSCALL], DPL_USER); + SETGATE(idt[T_SYSCALL], 0, SEG_KCODE<<3, vectors[T_SYSCALL], DPL_USER); initlock(&tickslock, "time"); } |