diff options
author | Liav A <liavalb@gmail.com> | 2021-10-01 09:58:50 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-01 12:27:20 +0200 |
commit | 4974727dbbd470d347999ba7e2e0c21b09642257 (patch) | |
tree | e747e88ec8cd919a99e9ab88674df9f98e534901 /Kernel | |
parent | 3e9dfd2e74d7bd47d1a83c81fd5486e03726538a (diff) | |
download | serenity-4974727dbbd470d347999ba7e2e0c21b09642257.zip |
Kernel: Move x86 IO instructions code into the x86 specific folder
Diffstat (limited to 'Kernel')
39 files changed, 38 insertions, 38 deletions
diff --git a/Kernel/IO.h b/Kernel/Arch/x86/IO.h index ca9955e9fb..ca9955e9fb 100644 --- a/Kernel/IO.h +++ b/Kernel/Arch/x86/IO.h diff --git a/Kernel/Arch/x86/InterruptDisabler.h b/Kernel/Arch/x86/InterruptDisabler.h index 13a6af81f9..292d189223 100644 --- a/Kernel/Arch/x86/InterruptDisabler.h +++ b/Kernel/Arch/x86/InterruptDisabler.h @@ -8,7 +8,7 @@ #include <AK/Types.h> -#include <Kernel/IO.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Arch/x86/ASM_wrapper.h> diff --git a/Kernel/Bus/PCI/Access.cpp b/Kernel/Bus/PCI/Access.cpp index 2ec981e852..1278984f6f 100644 --- a/Kernel/Bus/PCI/Access.cpp +++ b/Kernel/Bus/PCI/Access.cpp @@ -7,10 +7,10 @@ #include <AK/ByteReader.h> #include <AK/HashTable.h> #include <Kernel/API/KResult.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/Access.h> #include <Kernel/Debug.h> #include <Kernel/Firmware/ACPI/Definitions.h> -#include <Kernel/IO.h> #include <Kernel/Memory/MemoryManager.h> #include <Kernel/Memory/Region.h> #include <Kernel/Sections.h> diff --git a/Kernel/Bus/PCI/Initializer.cpp b/Kernel/Bus/PCI/Initializer.cpp index aff597fd36..203b9c264e 100644 --- a/Kernel/Bus/PCI/Initializer.cpp +++ b/Kernel/Bus/PCI/Initializer.cpp @@ -4,13 +4,13 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/API.h> #include <Kernel/Bus/PCI/Access.h> #include <Kernel/Bus/PCI/Initializer.h> #include <Kernel/Bus/PCI/SysFSPCI.h> #include <Kernel/CommandLine.h> #include <Kernel/Firmware/ACPI/Parser.h> -#include <Kernel/IO.h> #include <Kernel/Panic.h> #include <Kernel/Sections.h> diff --git a/Kernel/Bus/USB/UHCI/UHCIController.h b/Kernel/Bus/USB/UHCI/UHCIController.h index b018c3025b..4fce8a9235 100644 --- a/Kernel/Bus/USB/UHCI/UHCIController.h +++ b/Kernel/Bus/USB/UHCI/UHCIController.h @@ -10,12 +10,12 @@ #include <AK/Platform.h> #include <AK/NonnullOwnPtr.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/Device.h> #include <Kernel/Bus/USB/UHCI/UHCIDescriptorPool.h> #include <Kernel/Bus/USB/UHCI/UHCIDescriptorTypes.h> #include <Kernel/Bus/USB/UHCI/UHCIRootHub.h> #include <Kernel/Bus/USB/USBController.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Memory/AnonymousVMObject.h> #include <Kernel/Process.h> diff --git a/Kernel/Bus/VirtIO/Device.h b/Kernel/Bus/VirtIO/Device.h index 79f0368117..88d8ac5e91 100644 --- a/Kernel/Bus/VirtIO/Device.h +++ b/Kernel/Bus/VirtIO/Device.h @@ -7,10 +7,10 @@ #pragma once #include <AK/NonnullOwnPtrVector.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/Access.h> #include <Kernel/Bus/PCI/Device.h> #include <Kernel/Bus/VirtIO/Queue.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Memory/MemoryManager.h> diff --git a/Kernel/CMOS.cpp b/Kernel/CMOS.cpp index 97fc75fce3..4f51e5b8d2 100644 --- a/Kernel/CMOS.cpp +++ b/Kernel/CMOS.cpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/CMOS.h> -#include <Kernel/IO.h> namespace CMOS { diff --git a/Kernel/Devices/ConsoleDevice.cpp b/Kernel/Devices/ConsoleDevice.cpp index 000919db7f..3fb332747c 100644 --- a/Kernel/Devices/ConsoleDevice.cpp +++ b/Kernel/Devices/ConsoleDevice.cpp @@ -4,9 +4,9 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Devices/ConsoleDevice.h> #include <Kernel/Devices/DeviceManagement.h> -#include <Kernel/IO.h> #include <Kernel/Locking/Spinlock.h> #include <Kernel/Sections.h> #include <Kernel/kstdio.h> diff --git a/Kernel/Devices/HID/I8042Controller.cpp b/Kernel/Devices/HID/I8042Controller.cpp index a55326ef92..f941896b4f 100644 --- a/Kernel/Devices/HID/I8042Controller.cpp +++ b/Kernel/Devices/HID/I8042Controller.cpp @@ -4,11 +4,11 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Devices/HID/I8042Controller.h> #include <Kernel/Devices/HID/PS2KeyboardDevice.h> #include <Kernel/Devices/HID/PS2MouseDevice.h> #include <Kernel/Devices/HID/VMWareMouseDevice.h> -#include <Kernel/IO.h> #include <Kernel/Sections.h> namespace Kernel { diff --git a/Kernel/Devices/HID/PS2KeyboardDevice.cpp b/Kernel/Devices/HID/PS2KeyboardDevice.cpp index 1f024a3303..9d2b727616 100644 --- a/Kernel/Devices/HID/PS2KeyboardDevice.cpp +++ b/Kernel/Devices/HID/PS2KeyboardDevice.cpp @@ -8,11 +8,11 @@ #include <AK/ByteBuffer.h> #include <AK/Singleton.h> #include <AK/Types.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Debug.h> #include <Kernel/Devices/DeviceManagement.h> #include <Kernel/Devices/HID/HIDManagement.h> #include <Kernel/Devices/HID/PS2KeyboardDevice.h> -#include <Kernel/IO.h> #include <Kernel/Sections.h> #include <Kernel/TTY/ConsoleManagement.h> #include <Kernel/WorkQueue.h> diff --git a/Kernel/Devices/HID/PS2MouseDevice.cpp b/Kernel/Devices/HID/PS2MouseDevice.cpp index f04a4b1758..af86416e72 100644 --- a/Kernel/Devices/HID/PS2MouseDevice.cpp +++ b/Kernel/Devices/HID/PS2MouseDevice.cpp @@ -5,11 +5,11 @@ */ #include <AK/Memory.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Debug.h> #include <Kernel/Devices/DeviceManagement.h> #include <Kernel/Devices/HID/PS2MouseDevice.h> #include <Kernel/Devices/VMWareBackdoor.h> -#include <Kernel/IO.h> #include <Kernel/Sections.h> namespace Kernel { diff --git a/Kernel/Devices/PCSpeaker.cpp b/Kernel/Devices/PCSpeaker.cpp index f4707f535e..9fa6b6a3da 100644 --- a/Kernel/Devices/PCSpeaker.cpp +++ b/Kernel/Devices/PCSpeaker.cpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Devices/PCSpeaker.h> -#include <Kernel/IO.h> #include <Kernel/Time/PIT.h> void PCSpeaker::tone_on(int frequency) diff --git a/Kernel/Devices/SB16.cpp b/Kernel/Devices/SB16.cpp index 9840ab1c12..229b8b1d03 100644 --- a/Kernel/Devices/SB16.cpp +++ b/Kernel/Devices/SB16.cpp @@ -6,11 +6,11 @@ #include <AK/Memory.h> #include <AK/StringView.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Arch/x86/InterruptDisabler.h> #include <Kernel/Debug.h> #include <Kernel/Devices/DeviceManagement.h> #include <Kernel/Devices/SB16.h> -#include <Kernel/IO.h> #include <Kernel/Memory/AnonymousVMObject.h> #include <Kernel/Memory/MemoryManager.h> #include <Kernel/Sections.h> diff --git a/Kernel/Devices/SerialDevice.cpp b/Kernel/Devices/SerialDevice.cpp index 8e881325f6..b4f6618d28 100644 --- a/Kernel/Devices/SerialDevice.cpp +++ b/Kernel/Devices/SerialDevice.cpp @@ -5,9 +5,9 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Devices/DeviceManagement.h> #include <Kernel/Devices/SerialDevice.h> -#include <Kernel/IO.h> #include <Kernel/Sections.h> namespace Kernel { diff --git a/Kernel/Devices/SerialDevice.h b/Kernel/Devices/SerialDevice.h index d92f3e591e..bc2680a3ec 100644 --- a/Kernel/Devices/SerialDevice.h +++ b/Kernel/Devices/SerialDevice.h @@ -6,8 +6,8 @@ #pragma once +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Devices/CharacterDevice.h> -#include <Kernel/IO.h> namespace Kernel { diff --git a/Kernel/Firmware/ACPI/Parser.cpp b/Kernel/Firmware/ACPI/Parser.cpp index 017053a393..7d6a632b40 100644 --- a/Kernel/Firmware/ACPI/Parser.cpp +++ b/Kernel/Firmware/ACPI/Parser.cpp @@ -8,12 +8,12 @@ #include <AK/Format.h> #include <AK/StringView.h> #include <AK/Try.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Arch/x86/InterruptDisabler.h> #include <Kernel/Bus/PCI/API.h> #include <Kernel/Debug.h> #include <Kernel/Firmware/ACPI/Parser.h> #include <Kernel/Firmware/BIOS.h> -#include <Kernel/IO.h> #include <Kernel/Memory/TypedMapping.h> #include <Kernel/Sections.h> #include <Kernel/StdLib.h> diff --git a/Kernel/Firmware/PowerStateSwitch.cpp b/Kernel/Firmware/PowerStateSwitch.cpp index 1bed8bffbe..16f9e07101 100644 --- a/Kernel/Firmware/PowerStateSwitch.cpp +++ b/Kernel/Firmware/PowerStateSwitch.cpp @@ -5,10 +5,10 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/FileSystem/FileSystem.h> #include <Kernel/Firmware/ACPI/Parser.h> #include <Kernel/Firmware/PowerStateSwitch.h> -#include <Kernel/IO.h> #include <Kernel/Process.h> #include <Kernel/Sections.h> #include <Kernel/TTY/ConsoleManagement.h> diff --git a/Kernel/Graphics/Bochs/GraphicsAdapter.cpp b/Kernel/Graphics/Bochs/GraphicsAdapter.cpp index 1f6157e2fa..75a6334603 100644 --- a/Kernel/Graphics/Bochs/GraphicsAdapter.cpp +++ b/Kernel/Graphics/Bochs/GraphicsAdapter.cpp @@ -6,13 +6,13 @@ #include <AK/Atomic.h> #include <AK/Checked.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/API.h> #include <Kernel/Bus/PCI/IDs.h> #include <Kernel/Debug.h> #include <Kernel/Graphics/Bochs/GraphicsAdapter.h> #include <Kernel/Graphics/Console/ContiguousFramebufferConsole.h> #include <Kernel/Graphics/GraphicsManagement.h> -#include <Kernel/IO.h> #include <Kernel/Memory/TypedMapping.h> #include <Kernel/Sections.h> diff --git a/Kernel/Graphics/Console/TextModeConsole.cpp b/Kernel/Graphics/Console/TextModeConsole.cpp index 96026f9eee..3a5025db16 100644 --- a/Kernel/Graphics/Console/TextModeConsole.cpp +++ b/Kernel/Graphics/Console/TextModeConsole.cpp @@ -4,9 +4,9 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Graphics/Console/TextModeConsole.h> #include <Kernel/Graphics/GraphicsManagement.h> -#include <Kernel/IO.h> #include <Kernel/Sections.h> namespace Kernel::Graphics { diff --git a/Kernel/Graphics/GraphicsManagement.cpp b/Kernel/Graphics/GraphicsManagement.cpp index 228af6646f..a8602d74e0 100644 --- a/Kernel/Graphics/GraphicsManagement.cpp +++ b/Kernel/Graphics/GraphicsManagement.cpp @@ -5,6 +5,7 @@ */ #include <AK/Singleton.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/API.h> #include <Kernel/Bus/PCI/IDs.h> #include <Kernel/CommandLine.h> @@ -13,7 +14,6 @@ #include <Kernel/Graphics/Intel/NativeGraphicsAdapter.h> #include <Kernel/Graphics/VGACompatibleAdapter.h> #include <Kernel/Graphics/VirtIOGPU/GraphicsAdapter.h> -#include <Kernel/IO.h> #include <Kernel/Memory/AnonymousVMObject.h> #include <Kernel/Multiboot.h> #include <Kernel/Sections.h> diff --git a/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp b/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp index 0ebd2f617c..b8f40468ac 100644 --- a/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp +++ b/Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp @@ -4,12 +4,12 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/API.h> #include <Kernel/Graphics/Console/ContiguousFramebufferConsole.h> #include <Kernel/Graphics/Definitions.h> #include <Kernel/Graphics/GraphicsManagement.h> #include <Kernel/Graphics/Intel/NativeGraphicsAdapter.h> -#include <Kernel/IO.h> #include <Kernel/PhysicalAddress.h> namespace Kernel { diff --git a/Kernel/Interrupts/APIC.cpp b/Kernel/Interrupts/APIC.cpp index faca203960..60e64a673a 100644 --- a/Kernel/Interrupts/APIC.cpp +++ b/Kernel/Interrupts/APIC.cpp @@ -8,11 +8,11 @@ #include <AK/Memory.h> #include <AK/Singleton.h> #include <AK/Types.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Arch/x86/MSR.h> #include <Kernel/Arch/x86/ProcessorInfo.h> #include <Kernel/Debug.h> #include <Kernel/Firmware/ACPI/Parser.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/APIC.h> #include <Kernel/Interrupts/SpuriousInterruptHandler.h> #include <Kernel/Memory/AnonymousVMObject.h> diff --git a/Kernel/Interrupts/PIC.cpp b/Kernel/Interrupts/PIC.cpp index ad7ea1423a..3f4524e040 100644 --- a/Kernel/Interrupts/PIC.cpp +++ b/Kernel/Interrupts/PIC.cpp @@ -6,8 +6,8 @@ #include <AK/Assertions.h> #include <AK/Types.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Arch/x86/InterruptDisabler.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/GenericInterruptHandler.h> #include <Kernel/Interrupts/PIC.h> #include <Kernel/Sections.h> diff --git a/Kernel/Net/E1000ENetworkAdapter.h b/Kernel/Net/E1000ENetworkAdapter.h index de88a423e3..9b44f7b451 100644 --- a/Kernel/Net/E1000ENetworkAdapter.h +++ b/Kernel/Net/E1000ENetworkAdapter.h @@ -8,9 +8,9 @@ #include <AK/NonnullOwnPtrVector.h> #include <AK/OwnPtr.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/Access.h> #include <Kernel/Bus/PCI/Device.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Net/E1000NetworkAdapter.h> #include <Kernel/Net/NetworkAdapter.h> diff --git a/Kernel/Net/E1000NetworkAdapter.h b/Kernel/Net/E1000NetworkAdapter.h index 49b9263701..c8fe19ce91 100644 --- a/Kernel/Net/E1000NetworkAdapter.h +++ b/Kernel/Net/E1000NetworkAdapter.h @@ -7,9 +7,9 @@ #pragma once #include <AK/OwnPtr.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/Access.h> #include <Kernel/Bus/PCI/Device.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Net/NetworkAdapter.h> #include <Kernel/Random.h> diff --git a/Kernel/Net/NE2000NetworkAdapter.cpp b/Kernel/Net/NE2000NetworkAdapter.cpp index bdd03a691c..0277a8e7d2 100644 --- a/Kernel/Net/NE2000NetworkAdapter.cpp +++ b/Kernel/Net/NE2000NetworkAdapter.cpp @@ -5,9 +5,9 @@ */ #include <AK/MACAddress.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/API.h> #include <Kernel/Debug.h> -#include <Kernel/IO.h> #include <Kernel/Net/NE2000NetworkAdapter.h> #include <Kernel/Sections.h> diff --git a/Kernel/Net/NE2000NetworkAdapter.h b/Kernel/Net/NE2000NetworkAdapter.h index f1b14868fd..9fb65d057d 100644 --- a/Kernel/Net/NE2000NetworkAdapter.h +++ b/Kernel/Net/NE2000NetworkAdapter.h @@ -7,9 +7,9 @@ #pragma once #include <AK/OwnPtr.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/Access.h> #include <Kernel/Bus/PCI/Device.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Net/NetworkAdapter.h> #include <Kernel/Random.h> diff --git a/Kernel/Net/NetworkingManagement.cpp b/Kernel/Net/NetworkingManagement.cpp index 59c39f3a36..8737271d1b 100644 --- a/Kernel/Net/NetworkingManagement.cpp +++ b/Kernel/Net/NetworkingManagement.cpp @@ -5,9 +5,9 @@ */ #include <AK/Singleton.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/API.h> #include <Kernel/CommandLine.h> -#include <Kernel/IO.h> #include <Kernel/Memory/AnonymousVMObject.h> #include <Kernel/Multiboot.h> #include <Kernel/Net/E1000ENetworkAdapter.h> diff --git a/Kernel/Net/RTL8139NetworkAdapter.cpp b/Kernel/Net/RTL8139NetworkAdapter.cpp index 00ec3acdf5..0a10542bf7 100644 --- a/Kernel/Net/RTL8139NetworkAdapter.cpp +++ b/Kernel/Net/RTL8139NetworkAdapter.cpp @@ -5,9 +5,9 @@ */ #include <AK/MACAddress.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/API.h> #include <Kernel/Debug.h> -#include <Kernel/IO.h> #include <Kernel/Net/RTL8139NetworkAdapter.h> #include <Kernel/Sections.h> diff --git a/Kernel/Net/RTL8139NetworkAdapter.h b/Kernel/Net/RTL8139NetworkAdapter.h index af10cc9e70..929bea09f3 100644 --- a/Kernel/Net/RTL8139NetworkAdapter.h +++ b/Kernel/Net/RTL8139NetworkAdapter.h @@ -7,9 +7,9 @@ #pragma once #include <AK/OwnPtr.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/Access.h> #include <Kernel/Bus/PCI/Device.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Net/NetworkAdapter.h> #include <Kernel/Random.h> diff --git a/Kernel/Net/RTL8168NetworkAdapter.h b/Kernel/Net/RTL8168NetworkAdapter.h index 4f66139a89..0f03462184 100644 --- a/Kernel/Net/RTL8168NetworkAdapter.h +++ b/Kernel/Net/RTL8168NetworkAdapter.h @@ -8,9 +8,9 @@ #include <AK/NonnullOwnPtrVector.h> #include <AK/OwnPtr.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Bus/PCI/Access.h> #include <Kernel/Bus/PCI/Device.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Net/NetworkAdapter.h> #include <Kernel/Random.h> diff --git a/Kernel/Panic.cpp b/Kernel/Panic.cpp index 83f9b47675..5f25385f0e 100644 --- a/Kernel/Panic.cpp +++ b/Kernel/Panic.cpp @@ -5,9 +5,9 @@ */ #include <AK/Format.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Arch/x86/Processor.h> #include <Kernel/CommandLine.h> -#include <Kernel/IO.h> #include <Kernel/KSyms.h> #include <Kernel/Panic.h> #include <Kernel/Thread.h> diff --git a/Kernel/RTC.cpp b/Kernel/RTC.cpp index 918771d5dc..ebedb4deb2 100644 --- a/Kernel/RTC.cpp +++ b/Kernel/RTC.cpp @@ -5,8 +5,8 @@ */ #include <AK/Time.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/CMOS.h> -#include <Kernel/IO.h> #include <Kernel/RTC.h> namespace RTC { diff --git a/Kernel/Storage/AHCIPortHandler.h b/Kernel/Storage/AHCIPortHandler.h index eb7ad4acaf..f93543533d 100644 --- a/Kernel/Storage/AHCIPortHandler.h +++ b/Kernel/Storage/AHCIPortHandler.h @@ -7,8 +7,8 @@ #pragma once #include <AK/RefPtr.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Devices/Device.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Locking/Mutex.h> #include <Kernel/Memory/PhysicalPage.h> diff --git a/Kernel/Storage/IDEChannel.cpp b/Kernel/Storage/IDEChannel.cpp index 66d689c0d0..559b6afcf1 100644 --- a/Kernel/Storage/IDEChannel.cpp +++ b/Kernel/Storage/IDEChannel.cpp @@ -7,7 +7,7 @@ #include <AK/ByteBuffer.h> #include <AK/Singleton.h> #include <AK/StringView.h> -#include <Kernel/IO.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Memory/MemoryManager.h> #include <Kernel/Process.h> #include <Kernel/Sections.h> diff --git a/Kernel/Storage/IDEChannel.h b/Kernel/Storage/IDEChannel.h index 83fe5d3aa3..f520b282d7 100644 --- a/Kernel/Storage/IDEChannel.h +++ b/Kernel/Storage/IDEChannel.h @@ -18,8 +18,8 @@ #pragma once #include <AK/RefPtr.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Devices/Device.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/IRQHandler.h> #include <Kernel/Locking/Mutex.h> #include <Kernel/Memory/PhysicalPage.h> diff --git a/Kernel/Time/PIT.cpp b/Kernel/Time/PIT.cpp index f2e825726c..642b5b4686 100644 --- a/Kernel/Time/PIT.cpp +++ b/Kernel/Time/PIT.cpp @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Arch/x86/InterruptDisabler.h> -#include <Kernel/IO.h> #include <Kernel/Interrupts/GenericInterruptHandler.h> #include <Kernel/Scheduler.h> #include <Kernel/Sections.h> diff --git a/Kernel/Time/RTC.cpp b/Kernel/Time/RTC.cpp index 3dcbe42a3e..34b928644f 100644 --- a/Kernel/Time/RTC.cpp +++ b/Kernel/Time/RTC.cpp @@ -4,9 +4,9 @@ * SPDX-License-Identifier: BSD-2-Clause */ +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Arch/x86/InterruptDisabler.h> #include <Kernel/CMOS.h> -#include <Kernel/IO.h> #include <Kernel/Time/RTC.h> #include <Kernel/Time/TimeManagement.h> diff --git a/Kernel/kprintf.cpp b/Kernel/kprintf.cpp index 6aa0529139..6b8e432348 100644 --- a/Kernel/kprintf.cpp +++ b/Kernel/kprintf.cpp @@ -7,11 +7,11 @@ #include <AK/PrintfImplementation.h> #include <AK/StringView.h> #include <AK/Types.h> +#include <Kernel/Arch/x86/IO.h> #include <Kernel/Devices/ConsoleDevice.h> #include <Kernel/Devices/DeviceManagement.h> #include <Kernel/Devices/PCISerialDevice.h> #include <Kernel/Graphics/GraphicsManagement.h> -#include <Kernel/IO.h> #include <Kernel/Locking/Spinlock.h> #include <Kernel/TTY/ConsoleManagement.h> #include <Kernel/kstdio.h> |