HV: further cleanup of header inclusions

According to the comments in hypervisor:
 " This file includes config header file "bsp_cfg.h" and other
	hypervisor used header files.
	It should be included in all the source files."

this patch includes all common header files in hypervisor.h
then removes other redundant inclusions

Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
Zide Chen
2018-05-21 17:30:50 -07:00
committed by lijinxia
parent d594878e31
commit 8f16faab04
69 changed files with 21 additions and 246 deletions

View File

@@ -29,8 +29,6 @@
*/
#include <hypervisor.h>
#include <hv_lib.h>
#include <vtd.h>
/* IOAPIC id */
#define SBL_IOAPIC_ID 8

View File

@@ -29,9 +29,6 @@
*/
#include <hypervisor.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#define NUM_USER_VMS 2

View File

@@ -29,10 +29,6 @@
*/
#include <hypervisor.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <hv_debug.h>
#include <multiboot.h>
#define MAX_PORT 0x10000 /* port 0 - 64K */

View File

@@ -29,14 +29,10 @@
*/
#include <hypervisor.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <multiboot.h>
#ifdef CONFIG_EFI_STUB
#include <acrn_efi.h>
#endif
#include <hv_debug.h>
/* IOAPIC id */
#define UEFI_IOAPIC_ID 8

View File

@@ -29,9 +29,6 @@
*/
#include <hypervisor.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#define NUM_USER_VMS 2