diff options
author | Benji Dial <benji@benjidial.net> | 2024-01-10 00:17:29 -0500 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-01-10 00:17:29 -0500 |
commit | 15e62510104bc0e2b9180b66e5845d985cac03cc (patch) | |
tree | fa950c29622823a825a523e63de610746a70cbe1 /include/mercury/kernel/paging.hpp | |
parent | c2f48fb5df0981df1df23de2b277274f9fe75080 (diff) | |
download | hilbert-os-15e62510104bc0e2b9180b66e5845d985cac03cc.tar.gz |
partial (largely untested) memory block device and tar file system support
Diffstat (limited to 'include/mercury/kernel/paging.hpp')
-rw-r--r-- | include/mercury/kernel/paging.hpp | 3 |
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(); |