oops, interrupts on in syscall traps doesn't work after all
This commit is contained in:
parent
3eda2714e6
commit
355073ea9e
1 changed files with 1 additions and 1 deletions
2
trap.c
2
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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue