hv:remove some unnecessary includes

--remove unnecessary includes
--remove unnecssary forward-declaration for 'struct vhm_request'

Tracked-On: #861
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
Mingqiang Chi 2019-10-12 16:32:02 +08:00 committed by ACRN System Integration
parent 72232daafe
commit de0a5a48d6
14 changed files with 1 additions and 17 deletions

View File

@ -17,7 +17,6 @@
#include <vmcs.h> #include <vmcs.h>
#include <mmu.h> #include <mmu.h>
#include <sprintf.h> #include <sprintf.h>
#include <cat.h>
/* stack_frame is linked with the sequence of stack operation in arch_switch_to() */ /* stack_frame is linked with the sequence of stack operation in arch_switch_to() */
struct stack_frame { struct stack_frame {

View File

@ -24,12 +24,12 @@
#include <pgtable.h> #include <pgtable.h>
#include <mmu.h> #include <mmu.h>
#include <logmsg.h> #include <logmsg.h>
#include <vboot.h>
#include <vboot_info.h> #include <vboot_info.h>
#include <board.h> #include <board.h>
#include <sgx.h> #include <sgx.h>
#include <sbuf.h> #include <sbuf.h>
#include <pci_dev.h> #include <pci_dev.h>
#include <vacpi.h>
vm_sw_loader_t vm_sw_loader; vm_sw_loader_t vm_sw_loader;

View File

@ -10,8 +10,6 @@
#include <logmsg.h> #include <logmsg.h>
#include <per_cpu.h> #include <per_cpu.h>
#include <vm_reset.h> #include <vm_reset.h>
#include <default_acpi_info.h>
#include <platform_acpi_info.h>
/** /**
* @pre vm != NULL * @pre vm != NULL

View File

@ -7,7 +7,6 @@
*/ */
#include <types.h> #include <types.h>
#include <errno.h>
#include <vmcs.h> #include <vmcs.h>
#include <vcpu.h> #include <vcpu.h>
#include <vm.h> #include <vm.h>

View File

@ -14,7 +14,6 @@
#include <vmx.h> #include <vmx.h>
#include <vm.h> #include <vm.h>
#include <logmsg.h> #include <logmsg.h>
#include <vboot.h>
#include <seed.h> #include <seed.h>
/* Push sp magic to top of stack for call trace */ /* Push sp magic to top of stack for call trace */

View File

@ -10,7 +10,6 @@
#include <per_cpu.h> #include <per_cpu.h>
#include <irq.h> #include <irq.h>
#include <boot_context.h> #include <boot_context.h>
#include <sprintf.h>
#include <multiboot.h> #include <multiboot.h>
#include <pgtable.h> #include <pgtable.h>
#include <zeropage.h> #include <zeropage.h>

View File

@ -10,7 +10,6 @@
#include <vmexit.h> #include <vmexit.h>
#include <irq.h> #include <irq.h>
#include <schedule.h> #include <schedule.h>
#include <softirq.h>
#include <profiling.h> #include <profiling.h>
#include <trace.h> #include <trace.h>
#include <logmsg.h> #include <logmsg.h>

View File

@ -7,7 +7,6 @@
#include <vm.h> #include <vm.h>
#include <e820.h> #include <e820.h>
#include <zeropage.h> #include <zeropage.h>
#include <boot_context.h>
#include <ept.h> #include <ept.h>
#include <mmu.h> #include <mmu.h>
#include <multiboot.h> #include <multiboot.h>

View File

@ -27,10 +27,8 @@
* $FreeBSD$ * $FreeBSD$
*/ */
#include <vm.h> #include <vm.h>
#include <errno.h>
#include <ept.h> #include <ept.h>
#include <mmu.h> #include <mmu.h>
#include <vmx.h>
#include <logmsg.h> #include <logmsg.h>
#include "vpci_priv.h" #include "vpci_priv.h"

View File

@ -36,7 +36,6 @@
#include <vm.h> #include <vm.h>
#include <pci.h> #include <pci.h>
#include <errno.h>
#include "vpci_priv.h" #include "vpci_priv.h"

View File

@ -28,7 +28,6 @@
*/ */
#include <vm.h> #include <vm.h>
#include <errno.h>
#include <ptdev.h> #include <ptdev.h>
#include <assign.h> #include <assign.h>
#include <vpci.h> #include <vpci.h>

View File

@ -30,7 +30,6 @@
#include <vm.h> #include <vm.h>
#include <vtd.h> #include <vtd.h>
#include <mmu.h> #include <mmu.h>
#include <errno.h>
#include <logmsg.h> #include <logmsg.h>
#include "vpci_priv.h" #include "vpci_priv.h"
#include "pci_dev.h" #include "pci_dev.h"

View File

@ -11,7 +11,6 @@
#include <pci.h> #include <pci.h>
#include <multiboot.h> #include <multiboot.h>
#include <acrn_common.h> #include <acrn_common.h>
#include <vacpi.h>
#include <vm_configurations.h> #include <vm_configurations.h>
#include <sgx.h> #include <sgx.h>

View File

@ -13,8 +13,6 @@
#ifndef HYPERCALL_H #ifndef HYPERCALL_H
#define HYPERCALL_H #define HYPERCALL_H
struct vhm_request;
bool is_hypercall_from_ring0(void); bool is_hypercall_from_ring0(void);
/** /**