aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/memory.cpp')
-rw-r--r--arch/x86_64/src/memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/memory.cpp b/arch/x86_64/src/memory.cpp
index 105d69b..b6901a5 100644
--- a/arch/x86_64/src/memory.cpp
+++ b/arch/x86_64/src/memory.cpp
@@ -25,7 +25,7 @@ namespace teachos::arch::memory
auto const & mbi = multiboot_information_pointer.get();
auto map = mbi->memory_map();
- return {std::make_pair(physical_address{&_start_linear}, physical_address{&_end_linear}),
+ return {std::make_pair(physical_address{&_start_physical}, physical_address{&_end_physical}),
std::make_pair(physical_address{std::bit_cast<std::byte *>(&mbi)},
physical_address{std::bit_cast<std::byte *>(&mbi) + mbi->size_bytes()}),
map};