]> git.corax.cc Git - corax/commitdiff
Mask the keyboard interrupt while were not handling it properly
authorMatthias Kruk <m@m10k.eu>
Fri, 6 Sep 2019 08:50:39 +0000 (17:50 +0900)
committerMatthias Kruk <m@m10k.eu>
Fri, 6 Sep 2019 08:50:39 +0000 (17:50 +0900)
kernel/arch/i8259.S

index 82c4124604ed6f4d10f5d4edb9293078f0aabd49..7a11058cad8a35731ea9cdc55bbee6622c348965 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of the Corax operating system.
- * Copyright (C) 2016 Matthias Kruk
+ * Copyright (C) 2016-2019 Matthias Kruk
  *
  * Corax is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@ _i8259_init:
 
        /* 0x0001 = timer, 0x0002 = kbd */
        /* 0xfffd = mask all but kbd, 0xfffc = all but (timer | kbd) */
-    movw    $0xfffc, %ax
+    movw    $0xfffe, %ax
     movl    %eax, (%esp)
     call    _i8259_setmask
     addl    $4, %esp