ApertureOS
kmalloc.h
Go to the documentation of this file.
1 #ifndef _K_MALLOC_H_
2 #define _K_MALLOC_H_
3 
4 #include "types.h"
5 
11 
15 void kmalloc_init();
16 
18 
22 void* kmalloc(size_t size);
23 
25 
28 void kfree(void* addr);
29 
31 
34 void kcompact();
35 
38 #endif /* end of include guard: _K_MALLOC_H_ */
void kfree(void *addr)
kernel free
Definition: kmalloc.c:143
void kmalloc_init()
Initialize the kernel memory allocator.
Definition: kmalloc.c:36
void kcompact()
Compact the kernel memory allocation table.
Definition: kmalloc.c:66
void * kmalloc(size_t size)
kernel malloc
Definition: kmalloc.c:93