From: Matthias Kruk Date: Fri, 6 Sep 2019 08:50:39 +0000 (+0900) Subject: Mask the keyboard interrupt while were not handling it properly X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=fbe6efdcf71eb02f8d63d79e49465f9e5ec08833;p=corax Mask the keyboard interrupt while were not handling it properly --- diff --git a/kernel/arch/i8259.S b/kernel/arch/i8259.S index 82c4124..7a11058 100644 --- a/kernel/arch/i8259.S +++ b/kernel/arch/i8259.S @@ -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