mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
Kernel: Add MemoryManager::set_page_writable_direct()
This helper function goes directly to the page tables and makes a virtual address writable or non-writable.
This commit is contained in:
parent
40f2abf7c3
commit
96fb3d4a11
2 changed files with 14 additions and 0 deletions
|
@ -139,6 +139,8 @@ public:
|
|||
|
||||
PageFaultResponse handle_page_fault(const PageFault&);
|
||||
|
||||
void set_page_writable_direct(VirtualAddress, bool);
|
||||
|
||||
void protect_readonly_after_init_memory();
|
||||
void unmap_memory_after_init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue