aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/memory')
-rw-r--r--arch/x86_64/src/memory/higher_half_mapper.cpp6
-rw-r--r--arch/x86_64/src/memory/kernel_mapper.cpp7
-rw-r--r--arch/x86_64/src/memory/mmu.cpp4
3 files changed, 9 insertions, 8 deletions
diff --git a/arch/x86_64/src/memory/higher_half_mapper.cpp b/arch/x86_64/src/memory/higher_half_mapper.cpp
index abb54a3..b0d1995 100644
--- a/arch/x86_64/src/memory/higher_half_mapper.cpp
+++ b/arch/x86_64/src/memory/higher_half_mapper.cpp
@@ -1,11 +1,11 @@
#include "arch/memory/higher_half_mapper.hpp"
-#include "kapi/memory.hpp"
-#include "kapi/system.hpp"
-
#include "arch/memory/page_table.hpp"
#include "arch/memory/page_utilities.hpp"
+#include "kapi/memory.hpp"
+#include "kapi/system.hpp"
+
#include <algorithm>
#include <array>
#include <cstddef>
diff --git a/arch/x86_64/src/memory/kernel_mapper.cpp b/arch/x86_64/src/memory/kernel_mapper.cpp
index ced8a14..46d4dca 100644
--- a/arch/x86_64/src/memory/kernel_mapper.cpp
+++ b/arch/x86_64/src/memory/kernel_mapper.cpp
@@ -1,15 +1,16 @@
#include "arch/memory/kernel_mapper.hpp"
+#include "arch/boot/ld.hpp"
+
#include "kapi/memory.hpp"
#include "kapi/system.hpp"
-#include "arch/boot/ld.hpp"
+#include <elf/format.hpp>
+#include <elf/section_header.hpp>
#include <kstd/print>
#include <kstd/units>
-#include <elf/format.hpp>
-#include <elf/section_header.hpp>
#include <multiboot2/information.hpp>
#include <algorithm>
diff --git a/arch/x86_64/src/memory/mmu.cpp b/arch/x86_64/src/memory/mmu.cpp
index ea23278..6d185a0 100644
--- a/arch/x86_64/src/memory/mmu.cpp
+++ b/arch/x86_64/src/memory/mmu.cpp
@@ -1,9 +1,9 @@
#include "arch/memory/mmu.hpp"
-#include "kapi/memory.hpp"
-
#include "arch/cpu/registers.hpp"
+#include "kapi/memory.hpp"
+
namespace arch::memory
{
auto tlb_flush(kapi::memory::linear_address address) -> void