aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2024-11-24 09:44:41 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2024-11-24 09:44:41 +0000
commit77146c6e2dbd02661636d9424b7e51562eac30c9 (patch)
tree3e644acd30f3d8b6832acfaad35a51b544580bfd /arch/x86_64/src
parent641f20fd782deb6d9e1e1b9996005ad893028744 (diff)
downloadteachos-77146c6e2dbd02661636d9424b7e51562eac30c9.tar.xz
teachos-77146c6e2dbd02661636d9424b7e51562eac30c9.zip
Add notes on missing features for kernel remapping
Diffstat (limited to 'arch/x86_64/src')
-rw-r--r--arch/x86_64/src/kernel/main.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp
index 8c68a49..8a73630 100644
--- a/arch/x86_64/src/kernel/main.cpp
+++ b/arch/x86_64/src/kernel/main.cpp
@@ -35,11 +35,10 @@ namespace teachos::arch::kernel
video::vga::text::write("Kernel remapping successfull", video::vga::text::common_attributes::green_on_black);
}
- // TODO: Seems to work correctly, Level 4 Index 0, Level 3 Index 0, Level 2 Index 0, Level 1 Index 184 = 753667 from
- // mapping vga is still mapped
- // set(CMAKE_POSITION_INDEPENDENT_CODE ON), should enable position independent code, but mapping still does not work
- // with same error?
- // Can we change the gcc call? gcc -fPIC -c mylibrary.cpp
+ // TODO: Why is identity mapping multiboot2 information structure with new kernel not required and
+ // allocator.allocate_frame still works?
+ // TODO: Fix unmapping old level 4 page table and turn it into guard page, use Stack Probes for stack allocation if
+ // possible.
// TODO: Map heap virtual pages with active table