diff options
Diffstat (limited to 'Kernel/Memory')
-rw-r--r-- | Kernel/Memory/MemoryManager.cpp | 1 | ||||
-rw-r--r-- | Kernel/Memory/MemoryManager.h | 1 | ||||
-rw-r--r-- | Kernel/Memory/Region.cpp | 1 | ||||
-rw-r--r-- | Kernel/Memory/Region.h | 5 |
4 files changed, 6 insertions, 2 deletions
diff --git a/Kernel/Memory/MemoryManager.cpp b/Kernel/Memory/MemoryManager.cpp index c16984e955..9d915078a1 100644 --- a/Kernel/Memory/MemoryManager.cpp +++ b/Kernel/Memory/MemoryManager.cpp @@ -7,6 +7,7 @@ #include <AK/Assertions.h> #include <AK/Memory.h> #include <AK/StringView.h> +#include <Kernel/Arch/x86/PageFault.h> #include <Kernel/BootInfo.h> #include <Kernel/CMOS.h> #include <Kernel/FileSystem/Inode.h> diff --git a/Kernel/Memory/MemoryManager.h b/Kernel/Memory/MemoryManager.h index fd75a08053..fce1bf5521 100644 --- a/Kernel/Memory/MemoryManager.h +++ b/Kernel/Memory/MemoryManager.h @@ -11,7 +11,6 @@ #include <AK/NonnullOwnPtrVector.h> #include <AK/NonnullRefPtrVector.h> #include <AK/String.h> -#include <Kernel/Arch/x86/PageFault.h> #include <Kernel/Arch/x86/TrapFrame.h> #include <Kernel/Forward.h> #include <Kernel/Locking/Spinlock.h> diff --git a/Kernel/Memory/Region.cpp b/Kernel/Memory/Region.cpp index 0e2142051a..1e89f8dd84 100644 --- a/Kernel/Memory/Region.cpp +++ b/Kernel/Memory/Region.cpp @@ -6,6 +6,7 @@ #include <AK/Memory.h> #include <AK/StringView.h> +#include <Kernel/Arch/x86/PageFault.h> #include <Kernel/Debug.h> #include <Kernel/FileSystem/Inode.h> #include <Kernel/Memory/AnonymousVMObject.h> diff --git a/Kernel/Memory/Region.h b/Kernel/Memory/Region.h index 5c31693619..2f1f8af8e0 100644 --- a/Kernel/Memory/Region.h +++ b/Kernel/Memory/Region.h @@ -9,7 +9,6 @@ #include <AK/EnumBits.h> #include <AK/IntrusiveList.h> #include <AK/Weakable.h> -#include <Kernel/Arch/x86/PageFault.h> #include <Kernel/Forward.h> #include <Kernel/Heap/SlabAllocator.h> #include <Kernel/KString.h> @@ -18,6 +17,10 @@ #include <Kernel/Sections.h> #include <Kernel/UnixTypes.h> +namespace Kernel { +class PageFault; +} + namespace Kernel::Memory { enum class ShouldFlushTLB { |