From e71a141533c742d05c0612d3a87ffb3810a4b5de Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 29 Jan 2024 13:22:50 -0500 Subject: memory works --- src/arch/amd64/mboot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/amd64/mboot.h') diff --git a/src/arch/amd64/mboot.h b/src/arch/amd64/mboot.h index 2d8c53c..6e407d5 100644 --- a/src/arch/amd64/mboot.h +++ b/src/arch/amd64/mboot.h @@ -25,14 +25,14 @@ enum mboot_tag_type { struct mboot_info { uint32_t total_size; uint32_t reserved; - struct mboot_tag tags[21]; + struct mboot_tag tags[22]; }; /** * Loads the multi boot information * @param mboot_info - the pointer passed from multiboot2 */ -struct mboot_info mboot_load_info(void *mboot_info); +struct mboot_info mboot_load_info(const void *mboot_info); /** * Gets a tag from multiboot -- cgit v1.2.3-freya