implements a physical memory manager... sort of, it gives an out of mem error, and variable are setting incorrectly
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user