diff options
Diffstat (limited to 'include/shim.h')
-rw-r--r-- | include/shim.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/shim.h b/include/shim.h index dc8c19c..7178a0f 100644 --- a/include/shim.h +++ b/include/shim.h @@ -2,7 +2,8 @@ #include <memory.h> -#define CMDLINE_MAX 32 +#define CMDLINE_MAX 32 +#define MMAP_MAX_ENTRY 64 struct memory_segment { uint64_t addr; @@ -12,8 +13,7 @@ struct memory_segment { struct memory_map { uint32_t entry_count; - uint32_t entry_length; - struct memory_segment *entries; + struct memory_segment entries[MMAP_MAX_ENTRY]; }; struct boot_info { |