diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-05-06 13:40:42 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-05-06 13:40:42 +0000 |
| commit | c9f46f3773e7943ce114af888a44f50061c2ac1d (patch) | |
| tree | 1c12055e7157da9fe08d6695d21d5195979117d7 /arch/x86_64/src/memory/main.cpp | |
| parent | 7d2e8bc16e6c1bacb3c676d21ea2245d8132218f (diff) | |
| download | teachos-c9f46f3773e7943ce114af888a44f50061c2ac1d.tar.xz teachos-c9f46f3773e7943ce114af888a44f50061c2ac1d.zip | |
Remove user Mode Access to VGA / Heap and Kernel Methods.
Diffstat (limited to 'arch/x86_64/src/memory/main.cpp')
| -rw-r--r-- | arch/x86_64/src/memory/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/src/memory/main.cpp b/arch/x86_64/src/memory/main.cpp index 4cccabb..bd094e0 100644 --- a/arch/x86_64/src/memory/main.cpp +++ b/arch/x86_64/src/memory/main.cpp @@ -31,8 +31,7 @@ namespace teachos::arch::memory for (auto const & page : pages) { - active_table.map_page_to_next_free_frame(allocator, page, - paging::entry::WRITABLE | paging::entry::USER_ACCESSIBLE); + active_table.map_page_to_next_free_frame(allocator, page, paging::entry::WRITABLE); } } } // namespace |
