From 6c87d3afa95121cdecb41552b9571253b3dca31b Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 9 Jul 2019 14:23:12 +0200 Subject: [PATCH] Kernel: Move i8253.cpp => Arch/i386/PIT.cpp --- Kernel/{i8253.cpp => Arch/i386/PIT.cpp} | 2 +- Kernel/{i8253.h => Arch/i386/PIT.h} | 0 Kernel/Makefile | 2 +- Kernel/Process.cpp | 2 +- Kernel/Scheduler.cpp | 2 +- Kernel/init.cpp | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename Kernel/{i8253.cpp => Arch/i386/PIT.cpp} (98%) rename Kernel/{i8253.h => Arch/i386/PIT.h} (100%) diff --git a/Kernel/i8253.cpp b/Kernel/Arch/i386/PIT.cpp similarity index 98% rename from Kernel/i8253.cpp rename to Kernel/Arch/i386/PIT.cpp index ab91e192be8..d1a523da08a 100644 --- a/Kernel/i8253.cpp +++ b/Kernel/Arch/i386/PIT.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/Kernel/i8253.h b/Kernel/Arch/i386/PIT.h similarity index 100% rename from Kernel/i8253.h rename to Kernel/Arch/i386/PIT.h diff --git a/Kernel/Makefile b/Kernel/Makefile index 129c5d71fe0..cd4c04c6c55 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -7,7 +7,7 @@ KERNEL_OBJS = \ Arch/i386/CPU.o \ Process.o \ Thread.o \ - i8253.o \ + Arch/i386/PIT.o \ Devices/KeyboardDevice.o \ CMOS.o \ Arch/i386/PIC.o \ diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 0d8035cc7db..d1b89230b69 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -22,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 8f06e76c559..59ae380be05 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -1,11 +1,11 @@ #include #include +#include #include #include #include #include #include -#include //#define LOG_EVERY_CONTEXT_SWITCH //#define SCHEDULER_DEBUG diff --git a/Kernel/init.cpp b/Kernel/init.cpp index d0696845ca5..f68aaef4c3f 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -2,11 +2,11 @@ #include "Process.h" #include "RTC.h" #include "Scheduler.h" -#include "i8253.h" #include "kmalloc.h" #include #include #include +#include #include #include #include