summaryrefslogtreecommitdiff
path: root/include/mercury/kernel/paging.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mercury/kernel/paging.hpp')
-rw-r--r--include/mercury/kernel/paging.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mercury/kernel/paging.hpp b/include/mercury/kernel/paging.hpp
index 9627162..4ba5fdf 100644
--- a/include/mercury/kernel/paging.hpp
+++ b/include/mercury/kernel/paging.hpp
@@ -26,6 +26,9 @@ namespace mercury::kernel::paging {
void map_kernel_page(
uint64_t paddr, uint64_t vaddr, bool write, bool execute);
+ //maps writable and not executable
+ void *map_new_kernel_pages(uint64_t count);
+
uint64_t get_used_vram_page_count();
uint64_t get_free_pram_page_count();