Kernel: Don't map kernel executable memory as writable

This commit is contained in:
Bananymous 2023-07-21 11:17:39 +03:00
parent 2db7cdb71e
commit 46eb27883a
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ namespace Kernel
V2P(g_kernel_execute_start),
(vaddr_t)g_kernel_execute_start,
g_kernel_execute_end - g_kernel_execute_start,
Flags::Execute | Flags::ReadWrite | Flags::Present
Flags::Execute | Flags::Present
);
}