From 192a4ccd6bbc2239f047f782a05e888990011e51 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 1 Feb 2024 12:48:55 -0500 Subject: acpi, fix mboot memory map, fix kalloc, fix virtalloc node allocator, add kprintf, other changes --- include/shim.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/shim.h') 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 -#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 { -- cgit v1.2.3-freya