From c581d1b99a16ff994b145ca7e797b5a256688025 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 13 Mar 2016 12:53:28 -0400 Subject: [PATCH] Initialize PICs instead of remapping -- masks all interrupts --- src/Interrupts.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Interrupts.cc b/src/Interrupts.cc index 12162cb..908a140 100644 --- a/src/Interrupts.cc +++ b/src/Interrupts.cc @@ -39,7 +39,8 @@ InterruptHandler::initialize() mIDT.load(); console.writeString("Interrupt table loaded\n"); - mPIC.remap(0x20, 0x28, 2); // Map hardware IRQs to interrupt vectors 32 through 48. + + mPIC.initialize(0x20, 0x28); // Map hardware IRQs to interrupt vectors 32 through 48. console.writeString("Hardware interrupts initialized\n"); }