aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/kapi
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-03-21 08:48:26 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-03-21 08:48:26 +0100
commiteb8074e9003034ef2186b62fc66b1073455be5de (patch)
tree8f02be17c3fb13d6f17eb7aa3188cab32bddb64b /arch/x86_64/kapi
parentdd2dc3ef9a5318a0f7c7c35be59759ab08adc3dc (diff)
downloadteachos-eb8074e9003034ef2186b62fc66b1073455be5de.tar.xz
teachos-eb8074e9003034ef2186b62fc66b1073455be5de.zip
x86_64/cpu: fixup 8259 interrupts
Diffstat (limited to 'arch/x86_64/kapi')
-rw-r--r--arch/x86_64/kapi/system.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86_64/kapi/system.cpp b/arch/x86_64/kapi/system.cpp
index ffb6a46..301169f 100644
--- a/arch/x86_64/kapi/system.cpp
+++ b/arch/x86_64/kapi/system.cpp
@@ -1,6 +1,7 @@
#include "kapi/system.hpp"
#include "arch/cpu/initialization.hpp"
+#include "arch/cpu/interrupts.hpp"
namespace kapi::system
{
@@ -8,6 +9,8 @@ namespace kapi::system
auto memory_initialized() -> void
{
arch::cpu::initialize_descriptors();
+ arch::cpu::initialize_legacy_interrupts();
+ arch::cpu::enable_interrupts();
}
} // namespace kapi::system \ No newline at end of file