summaryrefslogtreecommitdiff
path: root/src/arch/x86_common/include/mboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86_common/include/mboot.h')
-rw-r--r--src/arch/x86_common/include/mboot.h11
1 files changed, 11 insertions, 0 deletions
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 <shim.h>
+#include <memory.h>
+
+/**
+ * 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);