implements a physical memory manager... sort of, it gives an out of mem error, and variable are setting incorrectly

This commit is contained in:
2025-06-11 20:36:30 -04:00
parent 98f8a0dc88
commit 7669ea32a4
4 changed files with 155 additions and 14 deletions

View File

@ -1,4 +1,15 @@
#include <stdint.h>
#ifndef ARCH_PMM_H
#define ARCH_PMM_H
void pmm_init(void);
void* pmm_alloc_block(void);
void pmm_free_block(void* p);
void pmm_add_mem_block(uint32_t addr, uint32_t len);
#ifdef __TESTING__
void print_main_mem();
#endif
#endif