HV: cleanup header files under hypervisor/common
it removes hypervisor.h and just includes needed header files. Tracked-On: #1842 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
3cb5542b0a
commit
a89c41dd4c
|
@ -4,9 +4,15 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <vm.h>
|
||||
#include <vmcs.h>
|
||||
#include <vmexit.h>
|
||||
#include <irq.h>
|
||||
#include <schedule.h>
|
||||
#include <softirq.h>
|
||||
#include <profiling.h>
|
||||
#include <trace.h>
|
||||
#include <logmsg.h>
|
||||
|
||||
void vcpu_thread(struct sched_object *obj)
|
||||
{
|
||||
|
|
|
@ -4,12 +4,20 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <vm.h>
|
||||
#include <vmcs.h>
|
||||
#include <schedule.h>
|
||||
#include <hypercall.h>
|
||||
#include <version.h>
|
||||
#include <reloc.h>
|
||||
#include <vtd.h>
|
||||
#include <per_cpu.h>
|
||||
#include <lapic.h>
|
||||
#include <assign.h>
|
||||
#include <ept.h>
|
||||
#include <mmu.h>
|
||||
#include <errno.h>
|
||||
#include <logmsg.h>
|
||||
|
||||
#define ACRN_DBG_HYCALL 6U
|
||||
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <vm.h>
|
||||
#include <irq.h>
|
||||
#include <errno.h>
|
||||
#include <atomic.h>
|
||||
#include <logmsg.h>
|
||||
|
||||
#define ACRN_DBG_IOREQUEST 6U
|
||||
|
||||
|
|
|
@ -4,9 +4,12 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <vm.h>
|
||||
#include <softirq.h>
|
||||
#include <ptdev.h>
|
||||
#include <irq.h>
|
||||
#include <atomic.h>
|
||||
#include <logmsg.h>
|
||||
|
||||
#define PTIRQ_BITMAP_ARRAY_SIZE INT_DIV_ROUNDUP(CONFIG_MAX_PT_IRQ_ENTRIES, 64U)
|
||||
struct ptirq_remapping_info ptirq_entries[CONFIG_MAX_PT_IRQ_ENTRIES];
|
||||
|
|
|
@ -4,8 +4,14 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <rtl.h>
|
||||
#include <list.h>
|
||||
#include <bits.h>
|
||||
#include <cpu.h>
|
||||
#include <per_cpu.h>
|
||||
#include <lapic.h>
|
||||
#include <schedule.h>
|
||||
#include <sprintf.h>
|
||||
|
||||
static uint64_t pcpu_used_bitmap;
|
||||
|
||||
|
|
|
@ -4,10 +4,12 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <types.h>
|
||||
#include <bits.h>
|
||||
#include <cpu.h>
|
||||
#include <per_cpu.h>
|
||||
#include <softirq.h>
|
||||
|
||||
|
||||
static softirq_handler softirq_handlers[NR_SOFTIRQS];
|
||||
|
||||
void init_softirq(void)
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <types.h>
|
||||
#include <logmsg.h>
|
||||
|
||||
void __stack_chk_fail(void)
|
||||
{
|
||||
|
|
|
@ -4,8 +4,10 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <vm.h>
|
||||
#include <errno.h>
|
||||
#include <hypercall.h>
|
||||
#include <logmsg.h>
|
||||
|
||||
#define ACRN_DBG_TRUSTY_HYCALL 6U
|
||||
|
||||
|
|
|
@ -4,10 +4,15 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <vm.h>
|
||||
#include <e820.h>
|
||||
#include <zeropage.h>
|
||||
#include <boot_context.h>
|
||||
#include <ept.h>
|
||||
#include <mmu.h>
|
||||
#include <errno.h>
|
||||
#include <sprintf.h>
|
||||
#include <logmsg.h>
|
||||
|
||||
static void prepare_bsp_gdt(struct acrn_vm *vm)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue