summaryrefslogtreecommitdiff
path: root/Kernel/Interrupts/IOAPIC.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-19 21:29:46 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-19 21:42:18 +0100
commit2b2828ae525d22858f303f288df69e8235d3486f (patch)
treeed2b50b39f080df29c07a54f06a356b1be345635 /Kernel/Interrupts/IOAPIC.cpp
parente920c74cae13faac1ce2db6d921a5bbbcab39335 (diff)
downloadserenity-2b2828ae525d22858f303f288df69e8235d3486f.zip
Kernel: Slap UNMAP_AFTER_INIT on a bunch more functions
We're now able to unmap 100 KiB of kernel text after init. :^)
Diffstat (limited to 'Kernel/Interrupts/IOAPIC.cpp')
-rw-r--r--Kernel/Interrupts/IOAPIC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Interrupts/IOAPIC.cpp b/Kernel/Interrupts/IOAPIC.cpp
index 796f2cbd2a..2292e820a6 100644
--- a/Kernel/Interrupts/IOAPIC.cpp
+++ b/Kernel/Interrupts/IOAPIC.cpp
@@ -45,7 +45,7 @@ enum DeliveryMode {
External = 7
};
-IOAPIC::IOAPIC(PhysicalAddress address, u32 gsi_base)
+UNMAP_AFTER_INIT IOAPIC::IOAPIC(PhysicalAddress address, u32 gsi_base)
: m_address(address)
, m_regs(map_typed_writable<ioapic_mmio_regs>(m_address))
, m_gsi_base(gsi_base)
@@ -60,7 +60,7 @@ IOAPIC::IOAPIC(PhysicalAddress address, u32 gsi_base)
mask_all_redirection_entries();
}
-void IOAPIC::initialize()
+UNMAP_AFTER_INIT void IOAPIC::initialize()
{
}