mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 05:30:24 +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:
parent
3d878a9123
commit
229fbdd81d
@ -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)
|
||||
|
@ -50,6 +50,8 @@
|
||||
|
||||
#ifndef ASSEMBLER
|
||||
|
||||
#include <types.h>
|
||||
#include <acrn_common.h>
|
||||
#include <guest_memory.h>
|
||||
#include <virtual_cr.h>
|
||||
#include <vlapic.h>
|
||||
|
@ -8,6 +8,7 @@
|
||||
#define TIMER_H
|
||||
|
||||
#include <list.h>
|
||||
#include <rtl.h>
|
||||
|
||||
/**
|
||||
* @brief Timer
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#ifndef SCHEDULE_H
|
||||
#define SCHEDULE_H
|
||||
#include <spinlock.h>
|
||||
|
||||
#define NEED_RESCHEDULE (1U)
|
||||
#define NEED_OFFLINE (2U)
|
||||
|
Loading…
Reference in New Issue
Block a user