feature: kfree_alloc is now working (uncomment a free in the main to prove)

This commit is contained in:
2024-09-19 17:39:14 +02:00
parent 5ebf8ac6ab
commit 4cc1dba5f9
3 changed files with 46 additions and 7 deletions

View File

@ -10,4 +10,5 @@
#define PAGE_SIZE 4096
void init_memory(void);
uintptr_t kalloc_frame(uint32_t nb_frames);
void *kalloc_frame(uint32_t nb_frames);
void kfree_frame(void *frame, uint32_t nb_frames);