1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:18:12 +00:00

Kernel: Include the new PIT class in system components

This commit is contained in:
Liav A 2020-02-22 20:16:45 +02:00 committed by Andreas Kling
parent b3c132ffb7
commit 895e874eb4
4 changed files with 6 additions and 6 deletions

View file

@ -25,8 +25,8 @@
*/
#include <Kernel/Arch/i386/CPU.h>
#include <Kernel/Arch/i386/PIT.h>
#include <Kernel/Devices/PCSpeaker.h>
#include <Kernel/Devices/PIT.h>
#include <LibBareMetal/IO.h>
void PCSpeaker::tone_on(int frequency)

View file

@ -32,11 +32,11 @@
#include <AK/Time.h>
#include <AK/Types.h>
#include <Kernel/Arch/i386/CPU.h>
#include <Kernel/Arch/i386/PIT.h>
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/Devices/KeyboardDevice.h>
#include <Kernel/Devices/NullDevice.h>
#include <Kernel/Devices/PCSpeaker.h>
#include <Kernel/Devices/PIT.h>
#include <Kernel/Devices/RandomDevice.h>
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/DevPtsFS.h>

View file

@ -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()) {

View file

@ -30,7 +30,7 @@
#include <AK/NonnullOwnPtr.h>
#include <AK/OwnPtr.h>
#include <AK/SinglyLinkedList.h>
#include <Kernel/Arch/i386/PIT.h>
#include <Kernel/Devices/PIT.h>
namespace Kernel {