diff options
author | Andreas Kling <kling@serenityos.org> | 2021-02-19 21:29:46 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-19 21:42:18 +0100 |
commit | 2b2828ae525d22858f303f288df69e8235d3486f (patch) | |
tree | ed2b50b39f080df29c07a54f06a356b1be345635 /Kernel/Interrupts/IOAPIC.cpp | |
parent | e920c74cae13faac1ce2db6d921a5bbbcab39335 (diff) | |
download | serenity-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.cpp | 4 |
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() { } |