Add: paging & test

This commit is contained in:
xamidev
2024-08-18 12:19:16 +02:00
parent 7e551dbfae
commit cd705589de
11 changed files with 256 additions and 2 deletions

11
src/kernel/kheap.h Normal file
View 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