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