summaryrefslogtreecommitdiff
path: root/Kernel/Arch
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Arch')
-rw-r--r--Kernel/Arch/aarch64/CPUID.h2
-rw-r--r--Kernel/Arch/aarch64/Exceptions.cpp2
-rw-r--r--Kernel/Arch/aarch64/Interrupts.cpp4
-rw-r--r--Kernel/Arch/aarch64/MMU.cpp2
-rw-r--r--Kernel/Arch/aarch64/Panic.cpp4
-rw-r--r--Kernel/Arch/aarch64/SafeMem.cpp2
-rw-r--r--Kernel/Arch/aarch64/ThreadRegisters.h2
-rw-r--r--Kernel/Arch/init.cpp2
-rw-r--r--Kernel/Arch/x86_64/CPU.cpp2
-rw-r--r--Kernel/Arch/x86_64/ISABus/SerialDevice.cpp2
-rw-r--r--Kernel/Arch/x86_64/Interrupts.cpp2
-rw-r--r--Kernel/Arch/x86_64/Interrupts/APIC.cpp2
-rw-r--r--Kernel/Arch/x86_64/PCI/Initializer.cpp2
-rw-r--r--Kernel/Arch/x86_64/Processor.cpp4
-rw-r--r--Kernel/Arch/x86_64/Processor.h2
-rw-r--r--Kernel/Arch/x86_64/ProcessorInfo.h2
-rw-r--r--Kernel/Arch/x86_64/SyscallEntry.cpp4
-rw-r--r--Kernel/Arch/x86_64/Time/APICTimer.cpp2
-rw-r--r--Kernel/Arch/x86_64/Time/HPETComparator.cpp2
19 files changed, 23 insertions, 23 deletions
diff --git a/Kernel/Arch/aarch64/CPUID.h b/Kernel/Arch/aarch64/CPUID.h
index bb134ef45c..edbb53047a 100644
--- a/Kernel/Arch/aarch64/CPUID.h
+++ b/Kernel/Arch/aarch64/CPUID.h
@@ -11,7 +11,7 @@
#include <AK/Types.h>
#include <AK/UFixedBigInt.h>
#include <Kernel/Arch/aarch64/Registers.h>
-#include <Kernel/KString.h>
+#include <Kernel/Library/KString.h>
#include <AK/Platform.h>
VALIDATE_IS_AARCH64()
diff --git a/Kernel/Arch/aarch64/Exceptions.cpp b/Kernel/Arch/aarch64/Exceptions.cpp
index 8b6005fbed..093419827a 100644
--- a/Kernel/Arch/aarch64/Exceptions.cpp
+++ b/Kernel/Arch/aarch64/Exceptions.cpp
@@ -8,7 +8,7 @@
#include <Kernel/Arch/aarch64/CPU.h>
#include <Kernel/Arch/aarch64/Processor.h>
#include <Kernel/Arch/aarch64/Registers.h>
-#include <Kernel/Panic.h>
+#include <Kernel/Library/Panic.h>
extern "C" uintptr_t vector_table_el1;
diff --git a/Kernel/Arch/aarch64/Interrupts.cpp b/Kernel/Arch/aarch64/Interrupts.cpp
index adfebdc108..e8a3d8f6b9 100644
--- a/Kernel/Arch/aarch64/Interrupts.cpp
+++ b/Kernel/Arch/aarch64/Interrupts.cpp
@@ -13,8 +13,8 @@
#include <Kernel/Interrupts/SharedIRQHandler.h>
#include <Kernel/Interrupts/UnhandledInterruptHandler.h>
#include <Kernel/KSyms.h>
-#include <Kernel/Panic.h>
-#include <Kernel/StdLib.h>
+#include <Kernel/Library/Panic.h>
+#include <Kernel/Library/StdLib.h>
namespace Kernel {
diff --git a/Kernel/Arch/aarch64/MMU.cpp b/Kernel/Arch/aarch64/MMU.cpp
index f5c7cebb6a..10eb030e16 100644
--- a/Kernel/Arch/aarch64/MMU.cpp
+++ b/Kernel/Arch/aarch64/MMU.cpp
@@ -14,7 +14,7 @@
#include <Kernel/Arch/aarch64/RPi/UART.h>
#include <Kernel/Arch/aarch64/Registers.h>
#include <Kernel/BootInfo.h>
-#include <Kernel/Panic.h>
+#include <Kernel/Library/Panic.h>
#include <Kernel/Sections.h>
// Documentation here for Aarch64 Address Translations
diff --git a/Kernel/Arch/aarch64/Panic.cpp b/Kernel/Arch/aarch64/Panic.cpp
index 85a9767404..5b0ddc99c4 100644
--- a/Kernel/Arch/aarch64/Panic.cpp
+++ b/Kernel/Arch/aarch64/Panic.cpp
@@ -6,9 +6,9 @@
#include <Kernel/Arch/Processor.h>
#include <Kernel/KSyms.h>
-#include <Kernel/Panic.h>
+#include <Kernel/Library/Panic.h>
-// FIXME: Merge the code in this file with Kernel/Panic.cpp once the proper abstractions are in place.
+// FIXME: Merge the code in this file with Kernel/Library/Panic.cpp once the proper abstractions are in place.
// Note: This is required here, since __assertion_failed should be out of the Kernel namespace,
// but the PANIC macro uses functions that require the Kernel namespace.
diff --git a/Kernel/Arch/aarch64/SafeMem.cpp b/Kernel/Arch/aarch64/SafeMem.cpp
index 1d8054633a..721a1ee00d 100644
--- a/Kernel/Arch/aarch64/SafeMem.cpp
+++ b/Kernel/Arch/aarch64/SafeMem.cpp
@@ -7,7 +7,7 @@
#include <Kernel/Arch/RegisterState.h>
#include <Kernel/Arch/SafeMem.h>
-#include <Kernel/StdLib.h>
+#include <Kernel/Library/StdLib.h>
#define CODE_SECTION(section_name) __attribute__((section(section_name)))
diff --git a/Kernel/Arch/aarch64/ThreadRegisters.h b/Kernel/Arch/aarch64/ThreadRegisters.h
index 94130cfeff..30843c5324 100644
--- a/Kernel/Arch/aarch64/ThreadRegisters.h
+++ b/Kernel/Arch/aarch64/ThreadRegisters.h
@@ -7,8 +7,8 @@
#pragma once
#include <AK/Types.h>
+#include <Kernel/Library/StdLib.h>
#include <Kernel/Memory/AddressSpace.h>
-#include <Kernel/StdLib.h>
namespace Kernel {
diff --git a/Kernel/Arch/init.cpp b/Kernel/Arch/init.cpp
index 0cfa86b6db..09e42b1ba5 100644
--- a/Kernel/Arch/init.cpp
+++ b/Kernel/Arch/init.cpp
@@ -37,11 +37,11 @@
#include <Kernel/Graphics/GraphicsManagement.h>
#include <Kernel/Heap/kmalloc.h>
#include <Kernel/KSyms.h>
+#include <Kernel/Library/Panic.h>
#include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Multiboot.h>
#include <Kernel/Net/NetworkTask.h>
#include <Kernel/Net/NetworkingManagement.h>
-#include <Kernel/Panic.h>
#include <Kernel/Prekernel/Prekernel.h>
#include <Kernel/Sections.h>
#include <Kernel/Security/Random.h>
diff --git a/Kernel/Arch/x86_64/CPU.cpp b/Kernel/Arch/x86_64/CPU.cpp
index 5c735d6c4e..d64a004349 100644
--- a/Kernel/Arch/x86_64/CPU.cpp
+++ b/Kernel/Arch/x86_64/CPU.cpp
@@ -6,7 +6,7 @@
#include <AK/Assertions.h>
#include <Kernel/Arch/CPU.h>
-#include <Kernel/Panic.h>
+#include <Kernel/Library/Panic.h>
#include <Kernel/Tasks/Process.h>
using namespace Kernel;
diff --git a/Kernel/Arch/x86_64/ISABus/SerialDevice.cpp b/Kernel/Arch/x86_64/ISABus/SerialDevice.cpp
index 22a50d9a3d..b46cf931d6 100644
--- a/Kernel/Arch/x86_64/ISABus/SerialDevice.cpp
+++ b/Kernel/Arch/x86_64/ISABus/SerialDevice.cpp
@@ -6,7 +6,7 @@
#include <Kernel/Devices/DeviceManagement.h>
#include <Kernel/Devices/SerialDevice.h>
-#include <Kernel/IOWindow.h>
+#include <Kernel/Library/IOWindow.h>
#include <Kernel/Sections.h>
namespace Kernel {
diff --git a/Kernel/Arch/x86_64/Interrupts.cpp b/Kernel/Arch/x86_64/Interrupts.cpp
index 7dba1a1195..a210c22740 100644
--- a/Kernel/Arch/x86_64/Interrupts.cpp
+++ b/Kernel/Arch/x86_64/Interrupts.cpp
@@ -15,7 +15,7 @@
#include <Kernel/Interrupts/SharedIRQHandler.h>
#include <Kernel/Interrupts/SpuriousInterruptHandler.h>
#include <Kernel/Interrupts/UnhandledInterruptHandler.h>
-#include <Kernel/Panic.h>
+#include <Kernel/Library/Panic.h>
#include <Kernel/PerformanceManager.h>
#include <Kernel/Sections.h>
#include <Kernel/Security/Random.h>
diff --git a/Kernel/Arch/x86_64/Interrupts/APIC.cpp b/Kernel/Arch/x86_64/Interrupts/APIC.cpp
index c717495cb5..e29a30e36b 100644
--- a/Kernel/Arch/x86_64/Interrupts/APIC.cpp
+++ b/Kernel/Arch/x86_64/Interrupts/APIC.cpp
@@ -16,10 +16,10 @@
#include <Kernel/Debug.h>
#include <Kernel/Firmware/ACPI/Parser.h>
#include <Kernel/Interrupts/SpuriousInterruptHandler.h>
+#include <Kernel/Library/Panic.h>
#include <Kernel/Memory/AnonymousVMObject.h>
#include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Memory/TypedMapping.h>
-#include <Kernel/Panic.h>
#include <Kernel/Sections.h>
#include <Kernel/Tasks/Scheduler.h>
#include <Kernel/Tasks/Thread.h>
diff --git a/Kernel/Arch/x86_64/PCI/Initializer.cpp b/Kernel/Arch/x86_64/PCI/Initializer.cpp
index f90479caea..264946639a 100644
--- a/Kernel/Arch/x86_64/PCI/Initializer.cpp
+++ b/Kernel/Arch/x86_64/PCI/Initializer.cpp
@@ -12,7 +12,7 @@
#include <Kernel/CommandLine.h>
#include <Kernel/FileSystem/SysFS/Subsystems/Bus/PCI/BusDirectory.h>
#include <Kernel/Firmware/ACPI/Parser.h>
-#include <Kernel/Panic.h>
+#include <Kernel/Library/Panic.h>
#include <Kernel/Sections.h>
namespace Kernel::PCI {
diff --git a/Kernel/Arch/x86_64/Processor.cpp b/Kernel/Arch/x86_64/Processor.cpp
index 01feeccfe4..34656f0273 100644
--- a/Kernel/Arch/x86_64/Processor.cpp
+++ b/Kernel/Arch/x86_64/Processor.cpp
@@ -14,9 +14,9 @@
#include <Kernel/Arch/x86_64/Interrupts/APIC.h>
#include <Kernel/InterruptDisabler.h>
+#include <Kernel/Library/StdLib.h>
#include <Kernel/Sections.h>
#include <Kernel/Security/Random.h>
-#include <Kernel/StdLib.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Tasks/Scheduler.h>
#include <Kernel/Tasks/Thread.h>
@@ -28,7 +28,7 @@
#include <Kernel/Arch/x86_64/CPUID.h>
#include <Kernel/Arch/x86_64/MSR.h>
#include <Kernel/Arch/x86_64/ProcessorInfo.h>
-#include <Kernel/ScopedCritical.h>
+#include <Kernel/Library/ScopedCritical.h>
#include <Kernel/Arch/PageDirectory.h>
#include <Kernel/Memory/ScopedAddressSpaceSwitcher.h>
diff --git a/Kernel/Arch/x86_64/Processor.h b/Kernel/Arch/x86_64/Processor.h
index 9f9c9886a3..1bbe004243 100644
--- a/Kernel/Arch/x86_64/Processor.h
+++ b/Kernel/Arch/x86_64/Processor.h
@@ -20,7 +20,7 @@
#include <Kernel/Arch/x86_64/SIMDState.h>
#include <Kernel/Arch/x86_64/TSS.h>
#include <Kernel/Forward.h>
-#include <Kernel/KString.h>
+#include <Kernel/Library/KString.h>
#include <AK/Platform.h>
VALIDATE_IS_X86()
diff --git a/Kernel/Arch/x86_64/ProcessorInfo.h b/Kernel/Arch/x86_64/ProcessorInfo.h
index 6bb90b0ea7..dfb4629c25 100644
--- a/Kernel/Arch/x86_64/ProcessorInfo.h
+++ b/Kernel/Arch/x86_64/ProcessorInfo.h
@@ -8,7 +8,7 @@
#pragma once
#include <AK/Types.h>
-#include <Kernel/KString.h>
+#include <Kernel/Library/KString.h>
#include <AK/Platform.h>
VALIDATE_IS_X86()
diff --git a/Kernel/Arch/x86_64/SyscallEntry.cpp b/Kernel/Arch/x86_64/SyscallEntry.cpp
index 45e7c339fd..daf881b322 100644
--- a/Kernel/Arch/x86_64/SyscallEntry.cpp
+++ b/Kernel/Arch/x86_64/SyscallEntry.cpp
@@ -8,8 +8,8 @@
#include <Kernel/Arch/TrapFrame.h>
#include <Kernel/Arch/x86_64/DescriptorTable.h>
#include <Kernel/Arch/x86_64/Processor.h>
-#include <Kernel/Assertions.h>
-#include <Kernel/Panic.h>
+#include <Kernel/Library/Assertions.h>
+#include <Kernel/Library/Panic.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Tasks/Scheduler.h>
#include <Kernel/Tasks/Thread.h>
diff --git a/Kernel/Arch/x86_64/Time/APICTimer.cpp b/Kernel/Arch/x86_64/Time/APICTimer.cpp
index 5c6499dcb1..4ce20a9142 100644
--- a/Kernel/Arch/x86_64/Time/APICTimer.cpp
+++ b/Kernel/Arch/x86_64/Time/APICTimer.cpp
@@ -6,7 +6,7 @@
#include <Kernel/Arch/x86_64/Interrupts/APIC.h>
#include <Kernel/Arch/x86_64/Time/APICTimer.h>
-#include <Kernel/Panic.h>
+#include <Kernel/Library/Panic.h>
#include <Kernel/Sections.h>
#include <Kernel/Time/TimeManagement.h>
diff --git a/Kernel/Arch/x86_64/Time/HPETComparator.cpp b/Kernel/Arch/x86_64/Time/HPETComparator.cpp
index 952eec7e2f..45e0c67590 100644
--- a/Kernel/Arch/x86_64/Time/HPETComparator.cpp
+++ b/Kernel/Arch/x86_64/Time/HPETComparator.cpp
@@ -5,9 +5,9 @@
*/
#include <Kernel/Arch/x86_64/Time/HPETComparator.h>
-#include <Kernel/Assertions.h>
#include <Kernel/Debug.h>
#include <Kernel/InterruptDisabler.h>
+#include <Kernel/Library/Assertions.h>
#include <Kernel/Sections.h>
#include <Kernel/Time/TimeManagement.h>