diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-10 12:09:30 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-11-10 12:09:30 +0000 |
| commit | 50d99ddaff23f43c3b678021d1ebc0455860d998 (patch) | |
| tree | b04a39934b992ac5c565e75782ab1c632c36e32a /arch/x86_64 | |
| parent | 8eb68ccb8837ba867550d16f967d9ef21921abe2 (diff) | |
| download | teachos-50d99ddaff23f43c3b678021d1ebc0455860d998.tar.xz teachos-50d99ddaff23f43c3b678021d1ebc0455860d998.zip | |
Remove fixed todo
Diffstat (limited to 'arch/x86_64')
| -rw-r--r-- | arch/x86_64/src/memory/paging/page_entry.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/src/memory/paging/page_entry.cpp b/arch/x86_64/src/memory/paging/page_entry.cpp index aae5013..08702cf 100644 --- a/arch/x86_64/src/memory/paging/page_entry.cpp +++ b/arch/x86_64/src/memory/paging/page_entry.cpp @@ -27,8 +27,7 @@ namespace teachos::arch::memory::paging } if (!elf_flags.contains_flags(multiboot::elf_section_flags::EXECUTABLE_CODE)) { - // TODO: Ensure to set the NXE bit, if we don't using this entry flag causes crashes - // flags = flags.to_ulong() | entry::EXECUTING_CODE_FORBIDDEN; + flags = flags.to_ulong() | entry::EXECUTING_CODE_FORBIDDEN; } } |
