mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Kernel: Include the new PIT class in system components
This commit is contained in:
parent
b3c132ffb7
commit
895e874eb4
Notes:
sideshowbarker
2024-07-19 09:06:23 +09:00
Author: https://github.com/supercomputer7
Commit: 895e874eb4
Pull-request: https://github.com/SerenityOS/serenity/pull/1274
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/shannonbooth
4 changed files with 6 additions and 6 deletions
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include <AK/QuickSort.h>
|
||||
#include <AK/TemporaryChange.h>
|
||||
#include <Kernel/Arch/i386/PIT.h>
|
||||
#include <Kernel/Devices/PIT.h>
|
||||
#include <Kernel/FileSystem/FileDescription.h>
|
||||
#include <Kernel/Net/Socket.h>
|
||||
#include <Kernel/Process.h>
|
||||
|
@ -594,8 +594,8 @@ void Scheduler::timer_tick(RegisterState& regs)
|
|||
++g_uptime;
|
||||
|
||||
timeval tv;
|
||||
tv.tv_sec = RTC::boot_time() + PIT::seconds_since_boot();
|
||||
tv.tv_usec = PIT::ticks_this_second() * 1000;
|
||||
tv.tv_sec = RTC::boot_time() + PIT::the().seconds_since_boot();
|
||||
tv.tv_usec = PIT::the().ticks_this_second() * 1000;
|
||||
Process::update_info_page_timestamp(tv);
|
||||
|
||||
if (Process::current->is_profiling()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue