From b5c6e698922da07271ba0b2493f15f1548f395ec Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Wed, 25 Sep 2019 19:02:36 +0900 Subject: [PATCH] Unmask the timer interrupt when initializing the i8259 PIC --- kernel/arch/i8259.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3