aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-12-17 16:22:01 +0100
committerFelix Morgner <felix.morgner@ost.ch>2025-12-17 16:22:01 +0100
commit8de374be7b860f26155b47aa92e177b72497af94 (patch)
treea11f09d3ff58f8d2714c8e846b8ca0ac58edfd23 /arch
parent801710fbce45bbe14d4bc927afc45a973bbf286f (diff)
downloadteachos-8de374be7b860f26155b47aa92e177b72497af94.tar.xz
teachos-8de374be7b860f26155b47aa92e177b72497af94.zip
x86_64/memory: fix compile errors
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/src/kapi/memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/kapi/memory.cpp b/arch/x86_64/src/kapi/memory.cpp
index 8c53c4c..0a45a51 100644
--- a/arch/x86_64/src/kapi/memory.cpp
+++ b/arch/x86_64/src/kapi/memory.cpp
@@ -183,7 +183,7 @@ namespace teachos::memory
cio::println("[x86_64:MEM] Switching to new paging hierarchy.");
auto cr3 = cpu::x86_64::cr3::read();
- cr3.address(new_pml4_frame.start_address());
+ cr3.frame(new_pml4_frame);
cpu::x86_64::cr3::write(cr3);
set_frame_allocator(*buffered_allocator);