diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-12-17 16:22:01 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-12-17 16:22:01 +0100 |
| commit | 8de374be7b860f26155b47aa92e177b72497af94 (patch) | |
| tree | a11f09d3ff58f8d2714c8e846b8ca0ac58edfd23 | |
| parent | 801710fbce45bbe14d4bc927afc45a973bbf286f (diff) | |
| download | teachos-8de374be7b860f26155b47aa92e177b72497af94.tar.xz teachos-8de374be7b860f26155b47aa92e177b72497af94.zip | |
x86_64/memory: fix compile errors
| -rw-r--r-- | arch/x86_64/src/kapi/memory.cpp | 2 |
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); |
