xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 355073ea9e7528e45143efaa9631efcf159a2b68
parent 3eda2714e67a499e833ec33bc27f4c6bf45638eb
Author: rtm <rtm>
Date:   Tue, 25 Sep 2007 16:15:05 +0000

oops, interrupts on in syscall traps doesn't work after all

Diffstat:
Mtrap.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trap.c b/trap.c @@ -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"); }