Explorar o código

Kernel: Move {Virtual,Physical}Address classes to the Memory directory

Liav A %!s(int64=2) %!d(string=hai) anos
pai
achega
aaa1de7878
Modificáronse 54 ficheiros con 61 adicións e 59 borrados
  1. 1 1
      AK/Userspace.h
  2. 1 1
      Kernel/Arch/PageFault.h
  3. 1 1
      Kernel/Arch/aarch64/PageDirectory.h
  4. 1 1
      Kernel/Arch/aarch64/Processor.h
  5. 1 1
      Kernel/Arch/aarch64/RPi/MMIO.h
  6. 1 1
      Kernel/Arch/x86_64/DescriptorTable.h
  7. 1 1
      Kernel/Arch/x86_64/PageDirectory.h
  8. 1 1
      Kernel/Arch/x86_64/Time/HPET.h
  9. 2 2
      Kernel/BootInfo.h
  10. 1 1
      Kernel/Bus/PCI/Definitions.h
  11. 1 1
      Kernel/Devices/Audio/Channel.h
  12. 1 1
      Kernel/Devices/Audio/Controller.h
  13. 1 1
      Kernel/Devices/Generic/MemoryDevice.h
  14. 1 1
      Kernel/Devices/Storage/ATA/AHCI/InterruptHandler.h
  15. 1 1
      Kernel/Devices/Storage/ATA/AHCI/Port.h
  16. 1 1
      Kernel/Devices/Storage/ATA/GenericIDE/Channel.h
  17. 1 1
      Kernel/Devices/Storage/StorageController.h
  18. 1 1
      Kernel/FileSystem/File.h
  19. 1 1
      Kernel/FileSystem/OpenFileDescription.h
  20. 2 1
      Kernel/FileSystem/SysFS/Subsystems/Firmware/BIOS/Component.h
  21. 2 1
      Kernel/FileSystem/SysFS/Subsystems/Firmware/BIOS/Directory.h
  22. 2 2
      Kernel/FileSystem/SysFS/Subsystems/Kernel/PowerStateSwitch.h
  23. 1 1
      Kernel/Firmware/ACPI/Definitions.h
  24. 2 2
      Kernel/Firmware/ACPI/Parser.h
  25. 2 2
      Kernel/Firmware/BIOS.h
  26. 2 2
      Kernel/Firmware/MultiProcessor/Parser.h
  27. 1 1
      Kernel/Graphics/Bochs/GraphicsAdapter.h
  28. 1 1
      Kernel/Graphics/Console/GenericFramebufferConsole.h
  29. 1 1
      Kernel/Graphics/GenericGraphicsAdapter.h
  30. 1 1
      Kernel/Graphics/Intel/Auxiliary/GMBusConnector.cpp
  31. 1 1
      Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp
  32. 1 1
      Kernel/Graphics/Intel/NativeGraphicsAdapter.h
  33. 1 1
      Kernel/Graphics/Intel/Plane/DisplayPlane.cpp
  34. 1 1
      Kernel/Graphics/Intel/Plane/G33DisplayPlane.cpp
  35. 1 1
      Kernel/Graphics/Intel/Transcoder/AnalogDisplayTranscoder.cpp
  36. 1 1
      Kernel/Graphics/Intel/Transcoder/DisplayTranscoder.cpp
  37. 1 1
      Kernel/Graphics/VMWare/GraphicsAdapter.h
  38. 1 1
      Kernel/IOWindow.h
  39. 1 1
      Kernel/Memory/AnonymousVMObject.h
  40. 1 1
      Kernel/Memory/MappedROM.h
  41. 0 0
      Kernel/Memory/PhysicalAddress.h
  42. 1 1
      Kernel/Memory/PhysicalPage.h
  43. 1 1
      Kernel/Memory/RegionTree.h
  44. 1 1
      Kernel/Memory/RingBuffer.h
  45. 1 1
      Kernel/Memory/ScatterGatherList.h
  46. 1 1
      Kernel/Memory/SharedFramebufferVMObject.h
  47. 0 0
      Kernel/Memory/VirtualAddress.h
  48. 1 1
      Kernel/Memory/VirtualRange.h
  49. 2 2
      Kernel/Prekernel/Prekernel.h
  50. 2 2
      Kernel/Prekernel/init.cpp
  51. 1 1
      Userland/DevTools/UserspaceEmulator/Range.h
  52. 1 1
      Userland/Libraries/LibELF/DynamicObject.h
  53. 1 1
      Userland/Libraries/LibELF/Image.h
  54. 1 1
      Userland/Libraries/LibELF/Relocation.h

+ 1 - 1
AK/Userspace.h

@@ -10,7 +10,7 @@
 #include <AK/Types.h>
 
 #ifdef KERNEL
-#    include <Kernel/VirtualAddress.h>
+#    include <Kernel/Memory/VirtualAddress.h>
 #endif
 
 namespace AK {

+ 1 - 1
Kernel/Arch/PageFault.h

@@ -10,7 +10,7 @@
 #include <AK/Types.h>
 #include <Kernel/Arch/RegisterState.h>
 #include <Kernel/ExecutionMode.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Arch/aarch64/PageDirectory.h

@@ -15,8 +15,8 @@
 #include <AK/Types.h>
 #include <Kernel/Forward.h>
 #include <Kernel/Locking/Spinlock.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/PhysicalPage.h>
-#include <Kernel/PhysicalAddress.h>
 
 namespace Kernel::Memory {
 

+ 1 - 1
Kernel/Arch/aarch64/Processor.h

@@ -16,7 +16,7 @@
 #include <Kernel/Arch/ProcessorSpecificDataID.h>
 #include <Kernel/Arch/aarch64/CPUID.h>
 #include <Kernel/Arch/aarch64/Registers.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Arch/aarch64/RPi/MMIO.h

@@ -7,7 +7,7 @@
 #pragma once
 
 #include <AK/Types.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Sections.h>
 
 namespace Kernel::RPi {

+ 1 - 1
Kernel/Arch/x86_64/DescriptorTable.h

@@ -8,7 +8,7 @@
 #pragma once
 
 #include <AK/Types.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 #include <AK/Platform.h>
 VALIDATE_IS_X86()

+ 1 - 1
Kernel/Arch/x86_64/PageDirectory.h

@@ -15,8 +15,8 @@
 #include <Kernel/Forward.h>
 #include <Kernel/Locking/LockRank.h>
 #include <Kernel/Locking/Spinlock.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/PhysicalPage.h>
-#include <Kernel/PhysicalAddress.h>
 
 namespace Kernel::Memory {
 

+ 1 - 1
Kernel/Arch/x86_64/Time/HPET.h

@@ -9,8 +9,8 @@
 #include <AK/OwnPtr.h>
 #include <AK/Types.h>
 #include <AK/Vector.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/Region.h>
-#include <Kernel/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 2 - 2
Kernel/BootInfo.h

@@ -7,9 +7,9 @@
 #pragma once
 
 #include <AK/StringView.h>
+#include <Kernel/Memory/PhysicalAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 #include <Kernel/Multiboot.h>
-#include <Kernel/PhysicalAddress.h>
-#include <Kernel/VirtualAddress.h>
 
 namespace Kernel::Memory {
 class PageTableEntry;

+ 1 - 1
Kernel/Bus/PCI/Definitions.h

@@ -13,7 +13,7 @@
 #include <AK/Vector.h>
 #include <Kernel/Debug.h>
 #include <Kernel/Locking/Spinlock.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel::PCI {
 

+ 1 - 1
Kernel/Devices/Audio/Channel.h

@@ -8,8 +8,8 @@
 
 #include <Kernel/Devices/CharacterDevice.h>
 #include <Kernel/Interrupts/IRQHandler.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/PhysicalPage.h>
-#include <Kernel/PhysicalAddress.h>
 #include <Kernel/Tasks/WaitQueue.h>
 
 namespace Kernel {

+ 1 - 1
Kernel/Devices/Audio/Controller.h

@@ -15,8 +15,8 @@
 #include <Kernel/Devices/Device.h>
 #include <Kernel/Library/LockWeakable.h>
 #include <Kernel/Locking/Mutex.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/PhysicalPage.h>
-#include <Kernel/PhysicalAddress.h>
 #include <Kernel/Security/Random.h>
 
 namespace Kernel {

+ 1 - 1
Kernel/Devices/Generic/MemoryDevice.h

@@ -8,7 +8,7 @@
 
 #include <AK/Types.h>
 #include <Kernel/Devices/CharacterDevice.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Devices/Storage/ATA/AHCI/InterruptHandler.h

@@ -13,8 +13,8 @@
 #include <Kernel/Interrupts/PCIIRQHandler.h>
 #include <Kernel/Library/LockRefPtr.h>
 #include <Kernel/Locking/Mutex.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/PhysicalPage.h>
-#include <Kernel/PhysicalAddress.h>
 #include <Kernel/Sections.h>
 #include <Kernel/Security/Random.h>
 #include <Kernel/Tasks/WaitQueue.h>

+ 1 - 1
Kernel/Devices/Storage/ATA/AHCI/Port.h

@@ -19,9 +19,9 @@
 #include <Kernel/Locking/Mutex.h>
 #include <Kernel/Locking/Spinlock.h>
 #include <Kernel/Memory/AnonymousVMObject.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/PhysicalPage.h>
 #include <Kernel/Memory/ScatterGatherList.h>
-#include <Kernel/PhysicalAddress.h>
 #include <Kernel/Sections.h>
 #include <Kernel/Security/Random.h>
 #include <Kernel/Tasks/WaitQueue.h>

+ 1 - 1
Kernel/Devices/Storage/ATA/GenericIDE/Channel.h

@@ -26,8 +26,8 @@
 #include <Kernel/Interrupts/IRQHandler.h>
 #include <Kernel/Library/LockRefPtr.h>
 #include <Kernel/Locking/Mutex.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/PhysicalPage.h>
-#include <Kernel/PhysicalAddress.h>
 #include <Kernel/Security/Random.h>
 #include <Kernel/Tasks/WaitQueue.h>
 

+ 1 - 1
Kernel/Devices/Storage/StorageController.h

@@ -12,8 +12,8 @@
 #include <Kernel/Devices/Device.h>
 #include <Kernel/Library/LockRefPtr.h>
 #include <Kernel/Locking/Mutex.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/PhysicalPage.h>
-#include <Kernel/PhysicalAddress.h>
 #include <Kernel/Security/Random.h>
 #include <Kernel/Tasks/WaitQueue.h>
 

+ 1 - 1
Kernel/FileSystem/File.h

@@ -13,9 +13,9 @@
 #include <Kernel/Forward.h>
 #include <Kernel/Library/LockWeakable.h>
 #include <Kernel/Library/NonnullLockRefPtr.h>
+#include <Kernel/Memory/VirtualAddress.h>
 #include <Kernel/UnixTypes.h>
 #include <Kernel/UserOrKernelBuffer.h>
-#include <Kernel/VirtualAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/FileSystem/OpenFileDescription.h

@@ -15,7 +15,7 @@
 #include <Kernel/FileSystem/InodeMetadata.h>
 #include <Kernel/Forward.h>
 #include <Kernel/KBuffer.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace Kernel {
 

+ 2 - 1
Kernel/FileSystem/SysFS/Subsystems/Firmware/BIOS/Component.h

@@ -11,7 +11,8 @@
 #include <AK/Vector.h>
 #include <Kernel/FileSystem/SysFS/Subsystems/Firmware/Directory.h>
 #include <Kernel/KBuffer.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Library/LockRefPtr.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 2 - 1
Kernel/FileSystem/SysFS/Subsystems/Firmware/BIOS/Directory.h

@@ -10,7 +10,8 @@
 #include <AK/Types.h>
 #include <AK/Vector.h>
 #include <Kernel/FileSystem/SysFS/Subsystems/Firmware/Directory.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Library/LockRefPtr.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 2 - 2
Kernel/FileSystem/SysFS/Subsystems/Kernel/PowerStateSwitch.h

@@ -13,9 +13,9 @@
 #include <Kernel/FileSystem/SysFS/Subsystems/Kernel/Directory.h>
 #include <Kernel/KBuffer.h>
 #include <Kernel/Memory/MappedROM.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/Region.h>
-#include <Kernel/PhysicalAddress.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Firmware/ACPI/Definitions.h

@@ -7,7 +7,7 @@
 #pragma once
 
 #include <AK/Types.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel::ACPI {
 

+ 2 - 2
Kernel/Firmware/ACPI/Parser.h

@@ -14,10 +14,10 @@
 #include <Kernel/Firmware/ACPI/Initialize.h>
 #include <Kernel/Interrupts/IRQHandler.h>
 #include <Kernel/Library/LockRefPtr.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/Region.h>
 #include <Kernel/Memory/TypedMapping.h>
-#include <Kernel/PhysicalAddress.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace Kernel::ACPI {
 

+ 2 - 2
Kernel/Firmware/BIOS.h

@@ -8,9 +8,9 @@
 #pragma once
 
 #include <Kernel/Memory/MappedROM.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/Region.h>
-#include <Kernel/PhysicalAddress.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace Kernel {
 

+ 2 - 2
Kernel/Firmware/MultiProcessor/Parser.h

@@ -8,9 +8,9 @@
 
 #include <AK/Types.h>
 #include <AK/Vector.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/Region.h>
-#include <Kernel/PhysicalAddress.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace Kernel {
 namespace MultiProcessor {

+ 1 - 1
Kernel/Graphics/Bochs/GraphicsAdapter.h

@@ -11,8 +11,8 @@
 #include <Kernel/Graphics/Bochs/Definitions.h>
 #include <Kernel/Graphics/Console/GenericFramebufferConsole.h>
 #include <Kernel/Graphics/GenericGraphicsAdapter.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/TypedMapping.h>
-#include <Kernel/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Graphics/Console/GenericFramebufferConsole.h

@@ -8,7 +8,7 @@
 
 #include <AK/Types.h>
 #include <Kernel/Graphics/Console/Console.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel::Graphics {
 

+ 1 - 1
Kernel/Graphics/GenericGraphicsAdapter.h

@@ -10,7 +10,7 @@
 #include <Kernel/Bus/PCI/Definitions.h>
 #include <Kernel/Devices/BlockDevice.h>
 #include <Kernel/Library/LockWeakable.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 class GenericGraphicsAdapter

+ 1 - 1
Kernel/Graphics/Intel/Auxiliary/GMBusConnector.cpp

@@ -6,7 +6,7 @@
 
 #include <Kernel/Arch/Delay.h>
 #include <Kernel/Graphics/Intel/Auxiliary/GMBusConnector.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Graphics/Intel/NativeGraphicsAdapter.cpp

@@ -9,7 +9,7 @@
 #include <Kernel/Graphics/Definitions.h>
 #include <Kernel/Graphics/GraphicsManagement.h>
 #include <Kernel/Graphics/Intel/NativeGraphicsAdapter.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Graphics/Intel/NativeGraphicsAdapter.h

@@ -11,7 +11,7 @@
 #include <Kernel/Graphics/Definitions.h>
 #include <Kernel/Graphics/Intel/DisplayConnectorGroup.h>
 #include <Kernel/Graphics/Intel/NativeDisplayConnector.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <LibEDID/EDID.h>
 
 namespace Kernel {

+ 1 - 1
Kernel/Graphics/Intel/Plane/DisplayPlane.cpp

@@ -5,7 +5,7 @@
  */
 
 #include <Kernel/Graphics/Intel/Plane/DisplayPlane.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Graphics/Intel/Plane/G33DisplayPlane.cpp

@@ -5,7 +5,7 @@
  */
 
 #include <Kernel/Graphics/Intel/Plane/G33DisplayPlane.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Graphics/Intel/Transcoder/AnalogDisplayTranscoder.cpp

@@ -6,7 +6,7 @@
 
 #include <Kernel/Arch/Delay.h>
 #include <Kernel/Graphics/Intel/Transcoder/AnalogDisplayTranscoder.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Graphics/Intel/Transcoder/DisplayTranscoder.cpp

@@ -6,7 +6,7 @@
 
 #include <Kernel/Arch/Delay.h>
 #include <Kernel/Graphics/Intel/Transcoder/DisplayTranscoder.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Graphics/VMWare/GraphicsAdapter.h

@@ -12,8 +12,8 @@
 #include <Kernel/Graphics/VMWare/Definitions.h>
 #include <Kernel/IOWindow.h>
 #include <Kernel/Locking/Spinlock.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/TypedMapping.h>
-#include <Kernel/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/IOWindow.h

@@ -13,8 +13,8 @@
 #    include <Kernel/Arch/x86_64/IO.h>
 #endif
 #include <Kernel/Bus/PCI/Definitions.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/TypedMapping.h>
-#include <Kernel/PhysicalAddress.h>
 
 namespace Kernel {
 

+ 1 - 1
Kernel/Memory/AnonymousVMObject.h

@@ -9,8 +9,8 @@
 #include <Kernel/Memory/AllocationStrategy.h>
 #include <Kernel/Memory/MemoryManager.h>
 #include <Kernel/Memory/PageFaultResponse.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/VMObject.h>
-#include <Kernel/PhysicalAddress.h>
 
 namespace Kernel::Memory {
 

+ 1 - 1
Kernel/Memory/MappedROM.h

@@ -7,8 +7,8 @@
 #pragma once
 
 #include <AK/OwnPtr.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/Memory/Region.h>
-#include <Kernel/PhysicalAddress.h>
 
 namespace Kernel::Memory {
 

+ 0 - 0
Kernel/PhysicalAddress.h → Kernel/Memory/PhysicalAddress.h


+ 1 - 1
Kernel/Memory/PhysicalPage.h

@@ -7,7 +7,7 @@
 #pragma once
 
 #include <AK/NonnullRefPtr.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel::Memory {
 

+ 1 - 1
Kernel/Memory/RegionTree.h

@@ -10,8 +10,8 @@
 #include <AK/IntrusiveRedBlackTree.h>
 #include <Kernel/Locking/Spinlock.h>
 #include <Kernel/Memory/Region.h>
+#include <Kernel/Memory/VirtualAddress.h>
 #include <Kernel/Memory/VirtualRange.h>
-#include <Kernel/VirtualAddress.h>
 
 namespace Kernel::Memory {
 

+ 1 - 1
Kernel/Memory/RingBuffer.h

@@ -6,7 +6,7 @@
 
 #pragma once
 
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 #include <Kernel/UserOrKernelBuffer.h>
 
 namespace Kernel::Memory {

+ 1 - 1
Kernel/Memory/ScatterGatherList.h

@@ -11,7 +11,7 @@
 #include <Kernel/Devices/BlockDevice.h>
 #include <Kernel/Memory/AnonymousVMObject.h>
 #include <Kernel/Memory/MemoryManager.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel::Memory {
 

+ 1 - 1
Kernel/Memory/SharedFramebufferVMObject.h

@@ -11,7 +11,7 @@
 #include <Kernel/Memory/AnonymousVMObject.h>
 #include <Kernel/Memory/MemoryManager.h>
 #include <Kernel/Memory/PageFaultResponse.h>
-#include <Kernel/PhysicalAddress.h>
+#include <Kernel/Memory/PhysicalAddress.h>
 
 namespace Kernel::Memory {
 

+ 0 - 0
Kernel/VirtualAddress.h → Kernel/Memory/VirtualAddress.h


+ 1 - 1
Kernel/Memory/VirtualRange.h

@@ -8,7 +8,7 @@
 #pragma once
 
 #include <AK/Error.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace Kernel::Memory {
 

+ 2 - 2
Kernel/Prekernel/Prekernel.h

@@ -7,9 +7,9 @@
 #pragma once
 
 #ifdef __cplusplus
+#    include <Kernel/Memory/PhysicalAddress.h>
+#    include <Kernel/Memory/VirtualAddress.h>
 #    include <Kernel/Multiboot.h>
-#    include <Kernel/PhysicalAddress.h>
-#    include <Kernel/VirtualAddress.h>
 #endif
 
 #define MAX_KERNEL_SIZE 0x4000000

+ 2 - 2
Kernel/Prekernel/init.cpp

@@ -7,10 +7,10 @@
  */
 
 #include <AK/Types.h>
+#include <Kernel/Memory/PhysicalAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 #include <Kernel/Multiboot.h>
-#include <Kernel/PhysicalAddress.h>
 #include <Kernel/Prekernel/Prekernel.h>
-#include <Kernel/VirtualAddress.h>
 #include <LibC/elf.h>
 #include <LibELF/Relocation.h>
 

+ 1 - 1
Userland/DevTools/UserspaceEmulator/Range.h

@@ -7,7 +7,7 @@
 #pragma once
 
 #include <AK/Types.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace UserspaceEmulator {
 

+ 1 - 1
Userland/Libraries/LibELF/DynamicObject.h

@@ -12,7 +12,7 @@
 #include <AK/Concepts.h>
 #include <AK/DeprecatedString.h>
 #include <AK/RefCounted.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 #include <LibC/elf.h>
 #include <LibC/link.h>
 

+ 1 - 1
Userland/Libraries/LibELF/Image.h

@@ -9,7 +9,7 @@
 
 #include <AK/Concepts.h>
 #include <AK/Vector.h>
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 #include <LibC/elf.h>
 
 #ifndef KERNEL

+ 1 - 1
Userland/Libraries/LibELF/Relocation.h

@@ -6,7 +6,7 @@
 
 #pragma once
 
-#include <Kernel/VirtualAddress.h>
+#include <Kernel/Memory/VirtualAddress.h>
 
 namespace ELF {