]> git.corax.cc Git - corax/commitdiff
Unmask the timer interrupt when initializing the i8259 PIC
authorMatthias Kruk <m@m10k.eu>
Wed, 25 Sep 2019 10:02:36 +0000 (19:02 +0900)
committerMatthias Kruk <m@m10k.eu>
Wed, 25 Sep 2019 10:02:36 +0000 (19:02 +0900)
kernel/arch/i8259.S

index 7a11058cad8a35731ea9cdc55bbee6622c348965..b0e1201de0fc14055416068208850a869ebb7915 100644 (file)
@@ -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