From 355073ea9e7528e45143efaa9631efcf159a2b68 Mon Sep 17 00:00:00 2001 From: rtm Date: Tue, 25 Sep 2007 16:15:05 +0000 Subject: [PATCH] oops, interrupts on in syscall traps doesn't work after all --- trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trap.c b/trap.c index ea15029..72678a6 100644 --- 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"); }