mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
hv:cleanup header file for vcpu.c & vcpu.h
For vcpu.c and vcpu.h,only include some necessary header files, doesn't include hypervisor.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -4,10 +4,13 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <schedule.h>
|
||||
#include <security.h>
|
||||
#include <virtual_cr.h>
|
||||
#include <types.h>
|
||||
#include <vcpu.h>
|
||||
#include <bits.h>
|
||||
#include <vmx.h>
|
||||
#include <logmsg.h>
|
||||
#include <cpu_caps.h>
|
||||
#include <per_cpu.h>
|
||||
#include <init.h>
|
||||
|
||||
inline uint64_t vcpu_get_gpreg(const struct acrn_vcpu *vcpu, uint32_t reg)
|
||||
|
Reference in New Issue
Block a user