From 1b09896afcf562d199d4df8d671601bba2b1f081 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 4 Feb 2024 14:19:54 -0500 Subject: refactor arch --- src/arch/x86_common/include/mboot.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/arch/x86_common/include/mboot.h (limited to 'src/arch/x86_common/include/mboot.h') diff --git a/src/arch/x86_common/include/mboot.h b/src/arch/x86_common/include/mboot.h new file mode 100644 index 0000000..d1ca1a0 --- /dev/null +++ b/src/arch/x86_common/include/mboot.h @@ -0,0 +1,11 @@ +#pragma once + +#include +#include + +/** + * Loads the multi boot information + * @param mboot_info - the pointer passed from multiboot2 + * @param shim_info - the info to be collected by shim + */ +void mboot_load_info(long mboot_magic, const volatile void *mboot_data_ptr, volatile struct boot_info *shim_info); -- cgit v1.2.3-freya