Kernel: Slap UNMAP_AFTER_INIT on a bunch more functions

We're now able to unmap 100 KiB of kernel text after init. :^)
This commit is contained in:
Andreas Kling 2021-02-19 21:29:46 +01:00
commit 2b2828ae52
Notes: sideshowbarker 2024-07-18 22:08:44 +09:00
36 changed files with 105 additions and 105 deletions

View file

@ -42,7 +42,7 @@ KernelRng& KernelRng::the()
return *s_the;
}
KernelRng::KernelRng()
UNMAP_AFTER_INIT KernelRng::KernelRng()
{
bool supports_rdseed = Processor::current().has_feature(CPUFeature::RDSEED);
bool supports_rdrand = Processor::current().has_feature(CPUFeature::RDRAND);