diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-03-21 08:48:26 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-03-21 08:48:26 +0100 |
| commit | eb8074e9003034ef2186b62fc66b1073455be5de (patch) | |
| tree | 8f02be17c3fb13d6f17eb7aa3188cab32bddb64b /arch/x86_64/include | |
| parent | dd2dc3ef9a5318a0f7c7c35be59759ab08adc3dc (diff) | |
| download | teachos-eb8074e9003034ef2186b62fc66b1073455be5de.tar.xz teachos-eb8074e9003034ef2186b62fc66b1073455be5de.zip | |
x86_64/cpu: fixup 8259 interrupts
Diffstat (limited to 'arch/x86_64/include')
| -rw-r--r-- | arch/x86_64/include/arch/cpu/initialization.hpp | 3 | ||||
| -rw-r--r-- | arch/x86_64/include/arch/cpu/interrupts.hpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86_64/include/arch/cpu/initialization.hpp b/arch/x86_64/include/arch/cpu/initialization.hpp index b2ce864..71186d4 100644 --- a/arch/x86_64/include/arch/cpu/initialization.hpp +++ b/arch/x86_64/include/arch/cpu/initialization.hpp @@ -3,4 +3,7 @@ namespace arch::cpu { auto initialize_descriptors() -> void; + + auto initialize_legacy_interrupts() -> void; + } // namespace arch::cpu diff --git a/arch/x86_64/include/arch/cpu/interrupts.hpp b/arch/x86_64/include/arch/cpu/interrupts.hpp index 19358ac..8f156a4 100644 --- a/arch/x86_64/include/arch/cpu/interrupts.hpp +++ b/arch/x86_64/include/arch/cpu/interrupts.hpp @@ -109,6 +109,9 @@ namespace arch::cpu auto static read() -> interrupt_descriptor_table_register; }; + auto enable_interrupts() -> void; + auto disable_interrupts() -> void; + } // namespace arch::cpu #endif
\ No newline at end of file |
