mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-27 11:22:17 +00:00
hv: multiboot: fix compilation error for module test
Fix below compilation error when building the module test for multiboot_priv.h. ./boot/multiboot/multiboot_priv.h: In function ‘boot_from_multiboot’: ./boot/multiboot/multiboot_priv.h:33:27: error: ‘MULTIBOOT_INFO_MAGIC’ undeclared (first use in this function) 33 | return ((magic == MULTIBOOT_INFO_MAGIC) && (info != 0U)); Tracked-On: #861 Signed-off-by: Gao, Shiqing <shiqing.gao@intel.com>
This commit is contained in:
parent
88cf1229a7
commit
ce96ba3fae
@ -7,6 +7,8 @@
|
||||
#ifndef MULTIBOOT_PRIV_H
|
||||
#define MULTIBOOT_PRIV_H
|
||||
|
||||
#include <multiboot_std.h>
|
||||
|
||||
#ifdef CONFIG_MULTIBOOT2
|
||||
/*
|
||||
* @post boot_regs[1] stores the address pointer that point to a valid multiboot2 info
|
||||
|
Loading…
Reference in New Issue
Block a user