This commit is contained in:
2025-04-30 23:03:44 -07:00
parent a464e109cb
commit ecfa54e225
30 changed files with 584 additions and 1191 deletions

14
kernel/memmap.c Normal file
View File

@@ -0,0 +1,14 @@
#include "memmap.h"
uint32_t get_memory_map(memory_map_entry_t *map, uint32_t max_entries) {
// Fill with dummy values for now
map[0].base_addr = 0x00000000;
map[0].length = 0x0009FC00;
map[0].type = 1;
map[1].base_addr = 0x00100000;
map[1].length = 0x1FF00000;
map[1].type = 1;
return 2; // 2 regions
}