diff options
| author | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-03 11:18:16 +0100 |
|---|---|---|
| committer | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-17 16:42:34 +0100 |
| commit | 09e16896dfcd87c289be18b13867e64441efcaf5 (patch) | |
| tree | 683da9edb290570ae16069884483a57030ff56c2 /arch | |
| parent | 14d06ffce75625c8cd0cfa705d33c410fc934937 (diff) | |
| download | teachos-09e16896dfcd87c289be18b13867e64441efcaf5.tar.xz teachos-09e16896dfcd87c289be18b13867e64441efcaf5.zip | |
make module pages writable
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/x86_64/kapi/memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kapi/memory.cpp b/arch/x86_64/kapi/memory.cpp index 3a2d66b..d6c0ad5 100644 --- a/arch/x86_64/kapi/memory.cpp +++ b/arch/x86_64/kapi/memory.cpp @@ -135,7 +135,7 @@ namespace kapi::memory { auto page = page::containing(module_virtual_start) + i; auto frame = frame::containing(module_physical_start) + i; - mapper.map(page, frame, page_mapper::flags::empty); // TODO BA-FS26 make writable? + mapper.map(page, frame, page_mapper::flags::writable); } } } |
