mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-17 15:44:32 +00:00
Move vcpu API create_vcpu to common. * Break create_vcpu into common vcpu init and arch_init_vcpu for arch-specific initialization. * Move vcpu_thread to arch-specific and rename to arch_vcpu_thread Tracked-On: #8830 Signed-off-by: Yifan Liu <yifan1.liu@intel.com> Reviewed-by: Fei Li <fei1.li@intel.com> Acked-by: Wang Yu1 <yu1.wang@intel.com>
18 lines
358 B
C
18 lines
358 B
C
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <vm.h>
|
|
#include <asm/guest/vm_reset.h>
|
|
#include <asm/guest/vmcs.h>
|
|
#include <asm/guest/vmexit.h>
|
|
#include <asm/guest/virq.h>
|
|
#include <schedule.h>
|
|
#include <profiling.h>
|
|
#include <sprintf.h>
|
|
#include <trace.h>
|
|
#include <logmsg.h>
|
|
#include <per_cpu.h>
|