Kernel: Move PIC.cpp into Arch/i386/
This commit is contained in:
parent
aa2cfed6b0
commit
9fdcede491
Notes:
sideshowbarker
2024-07-19 13:21:41 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9fdcede4915
7 changed files with 13 additions and 12 deletions
|
@ -1,8 +1,8 @@
|
|||
#include "PIC.h"
|
||||
#include "Assertions.h"
|
||||
#include "IO.h"
|
||||
#include <AK/Assertions.h>
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/Arch/i386/CPU.h>
|
||||
#include <Kernel/Arch/i386/PIC.h>
|
||||
#include <Kernel/IO.h>
|
||||
|
||||
// The slave 8259 is connected to the master's IRQ2 line.
|
||||
// This is really only to enhance clarity.
|
||||
|
@ -109,3 +109,4 @@ u16 get_irr()
|
|||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
#include "IO.h"
|
||||
#include "PIC.h"
|
||||
#include <AK/Assertions.h>
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/Arch/i386/CPU.h>
|
||||
#include <Kernel/Arch/i386/PIC.h>
|
||||
#include <Kernel/Devices/KeyboardDevice.h>
|
||||
#include <Kernel/TTY/VirtualConsole.h>
|
||||
#include <Kernel/IO.h>
|
||||
|
||||
//#define KEYBOARD_DEBUG
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "IRQHandler.h"
|
||||
#include "PIC.h"
|
||||
#include <Kernel/Arch/i386/CPU.h>
|
||||
#include <Kernel/Arch/i386/PIC.h>
|
||||
|
||||
IRQHandler::IRQHandler(u8 irq)
|
||||
: m_irq_number(irq)
|
||||
|
|
|
@ -10,7 +10,7 @@ KERNEL_OBJS = \
|
|||
i8253.o \
|
||||
Devices/KeyboardDevice.o \
|
||||
CMOS.o \
|
||||
PIC.o \
|
||||
Arch/i386/PIC.o \
|
||||
Syscall.o \
|
||||
Devices/IDEDiskDevice.o \
|
||||
VM/MemoryManager.o \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "i8253.h"
|
||||
#include "IO.h"
|
||||
#include "PIC.h"
|
||||
#include "Scheduler.h"
|
||||
#include <Kernel/Arch/i386/CPU.h>
|
||||
#include <Kernel/Arch/i386/PIC.h>
|
||||
#include <Kernel/i8253.h>
|
||||
#include <Kernel/IO.h>
|
||||
#include <Kernel/Scheduler.h>
|
||||
|
||||
#define IRQ_TIMER 0
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include "KSyms.h"
|
||||
#include "PIC.h"
|
||||
#include "Process.h"
|
||||
#include "RTC.h"
|
||||
#include "Scheduler.h"
|
||||
|
@ -7,6 +6,7 @@
|
|||
#include "kmalloc.h"
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/Arch/i386/CPU.h>
|
||||
#include <Kernel/Arch/i386/PIC.h>
|
||||
#include <Kernel/Devices/BXVGADevice.h>
|
||||
#include <Kernel/Devices/DebugLogDevice.h>
|
||||
#include <Kernel/Devices/DiskPartition.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue