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.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef MEMMAP_H
#define MEMMAP_H
#include <stdint.h>
typedef struct {
uint64_t base_addr;
uint64_t length;
uint32_t type;
} __attribute__((packed)) memory_map_entry_t;
uint32_t get_memory_map(memory_map_entry_t *map, uint32_t max_entries);
#endif