From 8de374be7b860f26155b47aa92e177b72497af94 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 17 Dec 2025 16:22:01 +0100 Subject: x86_64/memory: fix compile errors --- arch/x86_64/src/kapi/memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3