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/Time/HPETComparator.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/Time/HPETComparator.cpp')
-rw-r--r-- | Kernel/Time/HPETComparator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Time/HPETComparator.cpp b/Kernel/Time/HPETComparator.cpp index 1ebdd73dbf..6179ae2b85 100644 --- a/Kernel/Time/HPETComparator.cpp +++ b/Kernel/Time/HPETComparator.cpp @@ -31,12 +31,12 @@ namespace Kernel { -NonnullRefPtr<HPETComparator> HPETComparator::create(u8 number, u8 irq, bool periodic_capable) +UNMAP_AFTER_INIT NonnullRefPtr<HPETComparator> HPETComparator::create(u8 number, u8 irq, bool periodic_capable) { return adopt(*new HPETComparator(number, irq, periodic_capable)); } -HPETComparator::HPETComparator(u8 number, u8 irq, bool periodic_capable) +UNMAP_AFTER_INIT HPETComparator::HPETComparator(u8 number, u8 irq, bool periodic_capable) : HardwareTimer(irq) , m_periodic(false) , m_periodic_capable(periodic_capable) |