Wrote physical memory manager

This commit is contained in:
2026-03-20 18:18:15 +01:00
parent 0214b4da31
commit 93ef197e58
7 changed files with 358 additions and 99 deletions
+2 -5
View File
@@ -1,13 +1,10 @@
#ifndef _PMM_H
#define _PMM_H
#include <bitmap.h>
#include <kernel.h>
extern bitmap_t pmm_bitmap;
int pmm_init(void);
size_t pmm_alloc(void);
void pmm_free(size_t page);
void* pmm_alloc(void);
void pmm_free(void*);
#endif