HV: Remove hypervisor.h from bsp folder
Re-organize the code to remove usage of hypervisor.h from bsp folder, without changing any functionality. Tracked-On: #2694 Signed-off-by: Arindam Roy <arindam.roy@intel.com>
This commit is contained in:
parent
3d85d72fa9
commit
691468a361
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <vtd.h>
|
||||
#include <platform_acpi_info.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
/* this is for both SBL and ABL platform */
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <types.h>
|
||||
#include <e820.h>
|
||||
#include <cpu.h>
|
||||
#include <firmware_sbl.h>
|
||||
|
||||
static void sbl_init(void)
|
||||
|
|
|
@ -6,7 +6,14 @@
|
|||
|
||||
/* this is for UEFI platform */
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <types.h>
|
||||
#include <acrn_common.h>
|
||||
#include <pgtable.h>
|
||||
#include <logmsg.h>
|
||||
#include <rtl.h>
|
||||
#include <vlapic.h>
|
||||
#include <lapic.h>
|
||||
#include <per_cpu.h>
|
||||
#include <multiboot.h>
|
||||
#include <boot_context.h>
|
||||
#include <firmware_uefi.h>
|
||||
|
|
|
@ -4,8 +4,10 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <multiboot.h>
|
||||
#include <vm.h>
|
||||
#include <types.h>
|
||||
#include <pgtable.h>
|
||||
#include <firmware.h>
|
||||
#include <firmware_sbl.h>
|
||||
#include <firmware_uefi.h>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#ifndef MULTIBOOT_H
|
||||
#define MULTIBOOT_H
|
||||
|
||||
#include <types.h>
|
||||
#define MULTIBOOT_INFO_MAGIC 0x2BADB002U
|
||||
#define MULTIBOOT_INFO_HAS_CMDLINE 0x00000004U
|
||||
#define MULTIBOOT_INFO_HAS_MODS 0x00000008U
|
||||
|
|
Loading…
Reference in New Issue