HV: cleanup for header inclusions.

used https://gitlab.com/esr/deheader to detect and remove unnecessary
header file inclusions

Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
Zide Chen 2018-05-21 13:24:26 -07:00 committed by lijinxia
parent 8db85ecb25
commit d594878e31
24 changed files with 0 additions and 35 deletions

View File

@ -32,7 +32,6 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <cpu.h>
#include <hv_debug.h>
static inline struct vcpuid_entry *find_vcpuid_entry(struct vcpu *vcpu,

View File

@ -3,7 +3,6 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <acrn_common.h>
#include <io.h>
int warm_reboot(void)
{

View File

@ -30,10 +30,8 @@
#include <hypervisor.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <acrn_hv_defs.h>
#include <hv_arch.h>
#include <hypercall.h>
#include <hv_debug.h>
#include "guest/instr_emul_wrapper.h"

View File

@ -29,7 +29,6 @@
*/
#include <hv_lib.h>
#include <cpu.h>
#include <gdt.h>
DEFINE_CPU_DATA(struct tss_64, tss);

View File

@ -32,12 +32,10 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <bsp_cfg.h>
#include <bsp_extern.h>
#include <acrn_hv_defs.h>
#include <hv_debug.h>
#include <multiboot.h>
#include <zeropage.h>
#define ACRN_DBG_GUEST 6

View File

@ -32,7 +32,6 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <bsp_extern.h>
#include <hv_debug.h>
#include "instr_emul_wrapper.h"

View File

@ -31,7 +31,6 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <hv_debug.h>
#include <ucode.h>
uint64_t get_microcode_version(void)

View File

@ -34,7 +34,6 @@
#include <acrn_common.h>
#include <hv_arch.h>
#include <acrn_hv_defs.h>
#include <bsp_extern.h>
#include <hv_debug.h>
#include "instr_emul_wrapper.h"

View File

@ -32,7 +32,6 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <bsp_extern.h>
#include <hv_debug.h>
/* Rate range 1 to 1000 or 1uSec to 1mSec */

View File

@ -33,7 +33,6 @@
#include <acrn_common.h>
#include <hv_arch.h>
#include <hv_debug.h>
#include <hypercall.h>
int dm_emulate_pio_post(struct vcpu *vcpu)
{

View File

@ -31,7 +31,6 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <bsp_extern.h>
#include <hv_debug.h>
static void *mmu_pml4_addr;

View File

@ -33,7 +33,6 @@
#include <acrn_common.h>
#include <hv_arch.h>
#include <hv_debug.h>
#include <irq.h>
static struct dev_handler_node *notification_node;

View File

@ -34,7 +34,6 @@
#include <acrn_hv_defs.h>
#include <hv_debug.h>
#include <hkdf.h>
#include "rtl.h"
_Static_assert(NR_WORLD == 2, "Only 2 Worlds supported!");

View File

@ -30,9 +30,6 @@
#include <hypervisor.h>
#include <hv_lib.h>
#include <cpu.h>
#include <acrn_common.h>
#include <bsp_extern.h>
#include <hv_arch.h>
#include <hv_debug.h>
#include "acpi.h"
#ifdef CONFIG_EFI_STUB

View File

@ -32,9 +32,6 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <bsp_cfg.h>
#include <bsp_extern.h>
#include <acrn_hv_defs.h>
#include <hv_debug.h>
#include <multiboot.h>
#include <zeropage.h>

View File

@ -30,9 +30,6 @@
#include <hypervisor.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <bsp_extern.h>
#include <vtd.h>
/* IOAPIC id */

View File

@ -32,8 +32,6 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <bsp_extern.h>
#include <acrn_hv_defs.h>
#include <hv_debug.h>
#include <multiboot.h>

View File

@ -32,7 +32,6 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <bsp_extern.h>
#include <multiboot.h>
#ifdef CONFIG_EFI_STUB
#include <acrn_efi.h>

View File

@ -33,7 +33,6 @@
#include <acrn_common.h>
#include <hv_arch.h>
#include <hypercall.h>
#include <acrn_hv_defs.h>
#include <hv_debug.h>
int64_t hcall_world_switch(struct vcpu *vcpu)

View File

@ -32,7 +32,6 @@
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <bsp_extern.h>
#include <hv_debug.h>
#include <zeropage.h>

View File

@ -32,7 +32,6 @@
#include <acrn_common.h>
#include <hv_arch.h>
#include <hv_debug.h>
#include <hypercall.h>
#include <reboot.h>
#include "shell_internal.h"
#include "serial_internal.h"

View File

@ -8,8 +8,6 @@
#include <hv_arch.h>
#include <hv_debug.h>
#include <hypervisor.h>
#include <util.h>
#include <macros.h>
/************************************************************************/
/* Memory pool declaration (block size = MALLOC_ALIGN) */

View File

@ -30,8 +30,6 @@
#include <hypervisor.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#ifndef NULL
#define NULL ((void *) 0)

View File

@ -8,7 +8,6 @@
* constants.
*/
#include <types.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>