summaryrefslogtreecommitdiff
path: root/src/kernel/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/malloc.h')
-rw-r--r--src/kernel/malloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/malloc.h b/src/kernel/malloc.h
index efbd9c8..436d899 100644
--- a/src/kernel/malloc.h
+++ b/src/kernel/malloc.h
@@ -12,6 +12,8 @@ void mem_init(void *memtop);
void mem_reserve(void *addr, size_t len);
void mem_debugprint(void);
+void kmalloc_debugprint(void); /* internal, called by mem_debugprint */
+
// allocates `pages` consecutive pages
void *page_alloc(size_t pages);
// zeroes the allocated pages