Kernel: Slap UNMAP_AFTER_INIT on a whole bunch of functions

There's no real system here, I just added it to various functions
that I don't believe we ever want to call after initialization
has finished.

With these changes, we're able to unmap 60 KiB of kernel text
after init. :^)
This commit is contained in:
Andreas Kling 2021-02-19 18:41:50 +01:00
commit fdf03852c9
Notes: sideshowbarker 2024-07-18 22:08:51 +09:00
22 changed files with 69 additions and 68 deletions

View file

@ -32,12 +32,12 @@
namespace Kernel {
FullDevice::FullDevice()
UNMAP_AFTER_INIT FullDevice::FullDevice()
: CharacterDevice(1, 7)
{
}
FullDevice::~FullDevice()
UNMAP_AFTER_INIT FullDevice::~FullDevice()
{
}