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:
Gao, Shiqing 2024-08-15 10:29:06 +08:00 committed by acrnsi-robot
parent 88cf1229a7
commit ce96ba3fae

View File

@ -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