aboutsummaryrefslogtreecommitdiff
path: root/include/apos
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-09-25 14:56:43 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2021-09-25 14:56:43 +0300
commit2d173beb3392aff35c8a33f4ac001bf63bb9adc6 (patch)
tree3b9dc8dc03276f5ead11f2e3613536c7f11c6b18 /include/apos
parent13fe461374c0716404e2ee7726781b9cd12dbaa7 (diff)
downloadkmi-2d173beb3392aff35c8a33f4ac001bf63bb9adc6.tar.gz
kmi-2d173beb3392aff35c8a33f4ac001bf63bb9adc6.zip
Used memory regions now marked
+ I don't fully trust my memory management system yet, so should probably check the memory regions it gives.
Diffstat (limited to 'include/apos')
-rw-r--r--include/apos/pmem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/apos/pmem.h b/include/apos/pmem.h
index ec98cbf..826ae14 100644
--- a/include/apos/pmem.h
+++ b/include/apos/pmem.h
@@ -25,7 +25,8 @@ void mark_used(enum mm_order_t order, paddr_t paddr);
paddr_t alloc_page(enum mm_order_t order, paddr_t offset);
#if defined(INIT)
-void populate_pmap(paddr_t ram_base, size_t ram_size, paddr_t cont);
+paddr_t populate_pmap(paddr_t ram_base, size_t ram_size, paddr_t cont);
+paddr_t probe_pmap(paddr_t ram_base, size_t ram_size);
#endif
#if defined(KERNEL)