mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-30 15:06:49 +00:00
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:
parent
8db85ecb25
commit
d594878e31
@ -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,
|
||||
|
@ -3,7 +3,6 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#include <acrn_common.h>
|
||||
#include <io.h>
|
||||
|
||||
int warm_reboot(void)
|
||||
{
|
||||
|
@ -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"
|
||||
|
@ -29,7 +29,6 @@
|
||||
*/
|
||||
|
||||
#include <hv_lib.h>
|
||||
#include <cpu.h>
|
||||
#include <gdt.h>
|
||||
|
||||
DEFINE_CPU_DATA(struct tss_64, tss);
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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)
|
||||
|
@ -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"
|
||||
|
@ -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 */
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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!");
|
||||
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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 */
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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) */
|
||||
|
@ -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)
|
||||
|
@ -8,7 +8,6 @@
|
||||
* constants.
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <hv_lib.h>
|
||||
#include <acrn_common.h>
|
||||
#include <hv_arch.h>
|
||||
|
Loading…
Reference in New Issue
Block a user