diff options
| -rw-r--r-- | arch/x86_64/src/kernel/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86_64/src/kernel/main.cpp b/arch/x86_64/src/kernel/main.cpp index 6c0faf4..5b0f2c3 100644 --- a/arch/x86_64/src/kernel/main.cpp +++ b/arch/x86_64/src/kernel/main.cpp @@ -36,6 +36,9 @@ namespace teachos::arch::kernel // 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: Map heap virtual pages with active table |
