aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory/scoped_mapping.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-12-11 18:36:23 +0100
committerFelix Morgner <felix.morgner@ost.ch>2025-12-11 18:36:23 +0100
commitcf8d0d899ee17db734ce8ab7ee618333eb1767f2 (patch)
tree8ff328c106d9f928423dfa860567fbf6dbf84f88 /arch/x86_64/src/memory/scoped_mapping.cpp
parent998a001fc621ca0e7560ca09a8acd29469ae3373 (diff)
downloadkernel-cf8d0d899ee17db734ce8ab7ee618333eb1767f2.tar.xz
kernel-cf8d0d899ee17db734ce8ab7ee618333eb1767f2.zip
kapi: finish documentation
Diffstat (limited to 'arch/x86_64/src/memory/scoped_mapping.cpp')
-rw-r--r--arch/x86_64/src/memory/scoped_mapping.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/memory/scoped_mapping.cpp b/arch/x86_64/src/memory/scoped_mapping.cpp
index 6f3461c..e243dc9 100644
--- a/arch/x86_64/src/memory/scoped_mapping.cpp
+++ b/arch/x86_64/src/memory/scoped_mapping.cpp
@@ -44,14 +44,14 @@ namespace teachos::memory::x86_64
auto scoped_mapping::map(frame frame, page_table::entry::flags flags) -> std::byte *
{
- auto result = active_mapper().map(m_page, frame, to_mapper_flags(flags));
+ auto result = active_page_mapper().map(m_page, frame, to_mapper_flags(flags));
m_mapped = true;
return result;
}
auto scoped_mapping::unmap() -> void
{
- active_mapper().unmap(m_page);
+ active_page_mapper().unmap(m_page);
m_mapped = false;
}