aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/src/memory/scoped_mapping.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/memory/scoped_mapping.cpp b/arch/x86_64/src/memory/scoped_mapping.cpp
index 191a7ad..5446b2a 100644
--- a/arch/x86_64/src/memory/scoped_mapping.cpp
+++ b/arch/x86_64/src/memory/scoped_mapping.cpp
@@ -91,7 +91,7 @@ namespace teachos::memory::x86_64
m_mapped = true;
- return static_cast<std::byte *>(frame.start_address());
+ return static_cast<std::byte *>(m_page.start_address());
}
auto scoped_mapping::unmap() -> void