diff options
Diffstat (limited to 'include/memory.h')
-rw-r--r-- | include/memory.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/memory.h b/include/memory.h new file mode 100644 index 0000000..b349e62 --- /dev/null +++ b/include/memory.h @@ -0,0 +1,13 @@ +#ifndef _PAGE_H_ +#define _PAGE_H_ + +#include <stddef.h> +#include <stdbool.h> + +void *kmalloc(size_t size); +void *kmalloc_a(size_t size, size_t alignment); +void kfree(void *ptr); +void print_blocks(); +bool paging_init(); + +#endif |