From: Matthias Kruk Date: Wed, 25 Sep 2019 10:02:36 +0000 (+0900) Subject: Unmask the timer interrupt when initializing the i8259 PIC X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=b5c6e698922da07271ba0b2493f15f1548f395ec;p=corax Unmask the timer interrupt when initializing the i8259 PIC --- diff --git a/kernel/arch/i8259.S b/kernel/arch/i8259.S index 7a11058..b0e1201 100644 --- a/kernel/arch/i8259.S +++ b/kernel/arch/i8259.S @@ -37,7 +37,7 @@ _i8259_init: /* 0x0001 = timer, 0x0002 = kbd */ /* 0xfffd = mask all but kbd, 0xfffc = all but (timer | kbd) */ - movw $0xfffe, %ax + movw $0xfffc, %ax movl %eax, (%esp) call _i8259_setmask addl $4, %esp