diff options
Diffstat (limited to 'include/shim.h')
-rw-r--r-- | include/shim.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/shim.h b/include/shim.h index 9f80abc..dc8c19c 100644 --- a/include/shim.h +++ b/include/shim.h @@ -4,8 +4,20 @@ #define CMDLINE_MAX 32 +struct memory_segment { + uint64_t addr; + uint64_t len; + uint32_t type; +}; + +struct memory_map { + uint32_t entry_count; + uint32_t entry_length; + struct memory_segment *entries; +}; + struct boot_info { - struct memory_map *map; + struct memory_map map; void *symbol_table; void *acpi_table; char cmdline[CMDLINE_MAX]; |