1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

Kernel: Mark more of the kernel initialization as UNMAP_AFTER_INIT

This commit is contained in:
Brian Gianforcaro 2021-03-03 00:54:36 -08:00 committed by Andreas Kling
parent 84a399de5d
commit 0f424afd5a
2 changed files with 8 additions and 8 deletions

View file

@ -219,7 +219,7 @@ Time TimeManagement::now()
return s_the.ptr()->epoch_time();
}
Vector<HardwareTimerBase*> TimeManagement::scan_and_initialize_periodic_timers()
UNMAP_AFTER_INIT Vector<HardwareTimerBase*> TimeManagement::scan_and_initialize_periodic_timers()
{
bool should_enable = is_hpet_periodic_mode_allowed();
dbgln("Time: Scanning for periodic timers");
@ -234,7 +234,7 @@ Vector<HardwareTimerBase*> TimeManagement::scan_and_initialize_periodic_timers()
return timers;
}
Vector<HardwareTimerBase*> TimeManagement::scan_for_non_periodic_timers()
UNMAP_AFTER_INIT Vector<HardwareTimerBase*> TimeManagement::scan_for_non_periodic_timers()
{
dbgln("Time: Scanning for non-periodic timers");
Vector<HardwareTimerBase*> timers;