Initial commit
This commit is contained in:
commit
cbc51f523e
125 changed files with 34817 additions and 0 deletions
10
src/mm/kmalloc.h
Normal file
10
src/mm/kmalloc.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include <stdint.h>
|
||||
void kernel_heap_init();
|
||||
|
||||
void heap_free(uint64_t *addr);
|
||||
uint64_t *heap_alloc();
|
||||
|
||||
void *kmalloc(uint64_t size);
|
||||
void kfree(void *addr);
|
||||
|
||||
#define KERNEL_HEAP_SIZE 0x10000000
|
||||
Loading…
Add table
Add a link
Reference in a new issue