diff options
author | Liav A <liavalb@gmail.com> | 2021-05-21 20:34:10 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-21 22:38:26 +0100 |
commit | b8f0a9c974360ebcb74af73e700d44f8506f8cb2 (patch) | |
tree | acbfc84e2c4ea3c0c322c31cb5f8c7bb97f6dfa2 /Kernel | |
parent | df84fdfd2ca8cf5ef2f6c93c3b84b919508211ff (diff) | |
download | serenity-b8f0a9c974360ebcb74af73e700d44f8506f8cb2.zip |
Kernel/CPU: Fix awkward printing early on boot
This usage of the word "installing" seemed for me for a long time as
a wrong thing, so let's make it better now.
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Arch/i386/CPU.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/Arch/i386/CPU.cpp b/Kernel/Arch/i386/CPU.cpp index 65de1af146..36ced2fc0a 100644 --- a/Kernel/Arch/i386/CPU.cpp +++ b/Kernel/Arch/i386/CPU.cpp @@ -528,6 +528,7 @@ UNMAP_AFTER_INIT static void idt_init() for (u8 i = 0x11; i < 0x50; i++) register_interrupt_handler(i, unimp_trap); + dbgln("Initializing unhandled interrupt handlers"); register_interrupt_handler(0x50, interrupt_80_asm_entry); register_interrupt_handler(0x51, interrupt_81_asm_entry); register_interrupt_handler(0x52, interrupt_82_asm_entry); @@ -705,8 +706,6 @@ UNMAP_AFTER_INIT static void idt_init() register_interrupt_handler(0xfe, interrupt_254_asm_entry); register_interrupt_handler(0xff, interrupt_255_asm_entry); - dbgln("Installing Unhandled Handlers"); - for (u8 i = 0; i < GENERIC_INTERRUPT_HANDLERS_COUNT; ++i) { auto* handler = new UnhandledInterruptHandler(i); handler->register_interrupt_handler(); |