This commit is contained in:
nub31
2025-09-03 17:20:00 +02:00
parent ad879af3f9
commit 0b8ee325aa
6 changed files with 10 additions and 5 deletions

9
src/kernel/pmm.h Normal file
View File

@@ -0,0 +1,9 @@
#pragma once
#include <stdint.h>
#define PAGE_SIZE 4096
void pmm_init();
uint64_t pmm_alloc_page();
void pmm_free_page(uint64_t addr);