From 2ac25568839df7af2e271db9efa84bbd6fcb1f88 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 3 May 2020 22:44:24 +0200 Subject: Added missing memory functions --- src/kernel/memory/alloc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/kernel/memory/alloc.h') diff --git a/src/kernel/memory/alloc.h b/src/kernel/memory/alloc.h index 7ce5739..6739eeb 100644 --- a/src/kernel/memory/alloc.h +++ b/src/kernel/memory/alloc.h @@ -26,11 +26,13 @@ struct heap_footer { void kheap_init(); void *fmalloc(uint32_t size); +void *kcalloc(uint32_t num, uint32_t size); void *kmalloc(uint32_t size); void *kmalloc_a(uint32_t size); void kfree(void *ptr); void *umalloc(size_t size); +void *ucalloc(uint32_t num, uint32_t size); void ufree(void *address); void init_heap(struct heap_header *heap, size_t size); -- cgit v1.2.3