Change Interrupts::Handler

This commit is contained in:
Alex
2023-03-23 20:48:09 +02:00
parent 958e4c792e
commit 6b01a21a71
6 changed files with 20 additions and 7 deletions

View File

@ -77,7 +77,7 @@ static inline int GetLetterFromScanCode(uint8_t ScanCode)
namespace CrashHandler
{
CrashKeyboardDriver::CrashKeyboardDriver() : Interrupts::Handler(CPU::x86::IRQ1)
CrashKeyboardDriver::CrashKeyboardDriver() : Interrupts::Handler(1) /* IRQ1 */
{
while (inb(0x64) & 0x1)
inb(0x60);