Nigel
0f0fc9f252
Moved the PMM away from being object orientated as it is just plain annoying renamed src folder to source Set timeout to 5 seconds in the grub config
21 lines
325 B
C
21 lines
325 B
C
#pragma once
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
struct MemoryArea{
|
|
void* StartAddress;
|
|
size_t Size;
|
|
unsigned int type;
|
|
MemoryArea* Next;
|
|
|
|
}__attribute__((packed));
|
|
|
|
struct MemoryInfo {
|
|
uint32_t TotalMemory;
|
|
uint32_t ReservedMemory;
|
|
MemoryArea* MemoryRegionList;
|
|
}__attribute__((packed));
|
|
|
|
|
|
|