Initial commit
This commit is contained in:
commit
ef80f65fbf
136 changed files with 13728 additions and 0 deletions
9
include/mm/kmalloc.h
Normal file
9
include/mm/kmalloc.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include <error.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void _kmalloc_init(void);
|
||||
|
||||
void *kmalloc(size_t size);
|
||||
void *kzalloc(size_t size);
|
||||
kstatus kfree(void *addr);
|
||||
Loading…
Add table
Add a link
Reference in a new issue