#ifndef mod_mem_map #define mod_mem_map #include #include struct memory_map_entry_ { struct memory_map_entry_* next; size_t start; size_t end; } memory_map_entry; struct memory_map_ { struct memory_map_entry* unreserved; uint16_t unreserved_count; struct memory_map_entry* reserved; uint16_t reserved_count; } memory_map; extern struct memory_map* system_memory_map; void populate_memory_map(void); #endif