1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 13:35:07 +00:00

Kernel: Slap a handful more things with UNMAP_AFTER_INIT

This commit is contained in:
Andreas Kling 2021-02-20 00:00:19 +01:00
parent 4f0be55770
commit cc0f5917d3
7 changed files with 15 additions and 15 deletions

View file

@ -35,7 +35,7 @@
#define IRQ_TIMER 0
namespace Kernel {
NonnullRefPtr<PIT> PIT::initialize(Function<void(const RegisterState&)> callback)
UNMAP_AFTER_INIT NonnullRefPtr<PIT> PIT::initialize(Function<void(const RegisterState&)> callback)
{
return adopt(*new PIT(move(callback)));
}