Add: paging & test
This commit is contained in:
11
src/kernel/kheap.h
Normal file
11
src/kernel/kheap.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef KHEAP_H
|
||||
#define KHEAP_H
|
||||
|
||||
#include "../libc/stdint.h"
|
||||
|
||||
uint32_t kmalloc_a(uint32_t sz);
|
||||
uint32_t kmalloc_p(uint32_t sz, uint32_t *phys);
|
||||
uint32_t kmalloc_ap(uint32_t sz, uint32_t *phys);
|
||||
uint32_t kmalloc(uint32_t sz);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user