HV: modularization: rename multiboot.h to boot.h

Given the structure in multiboot.h could be used for any boot protocol,
use a more generic name "boot.h" instead;

Tracked-On: #5661

Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
Victor Sun
2021-06-08 10:21:01 +08:00
committed by wenlingz
parent e8f726e321
commit 28b7cee412
13 changed files with 17 additions and 22 deletions

View File

@@ -4,10 +4,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef MULTIBOOT_H
#define MULTIBOOT_H
#ifndef BOOT_H
#define BOOT_H
#include <multiboot_std.h>
#include <efi.h>
#include <vm_configurations.h>
/* TODO: MAX_MMAP_ENTRIES shall be config by config tool, and same as E820_MAX_ENTRIES */
#define MAX_MMAP_ENTRIES 32U
@@ -20,11 +22,6 @@
/* The vACPI module size is fixed to 1MB */
#define ACPI_MODULE_SIZE MEM_1M
#ifndef ASSEMBLER
#include <efi.h>
#include <vm_configurations.h>
struct acrn_boot_info {
const char *mi_cmdline;
@@ -49,6 +46,4 @@ void init_acrn_boot_info(uint32_t magic, uint32_t info);
int32_t sanitize_acrn_boot_info(uint32_t magic, uint32_t info);
struct acrn_boot_info *get_acrn_boot_info(void);
#endif /* ASSEMBLER */
#endif /* MULTIBOOT_H */
#endif /* BOOT_H */