mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-18 11:47:30 +00:00
hv:cleanup header file for per_cpu.h
remove hypervisor.h from per_cpu.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
parent
c093638bf6
commit
75f6cab554
@ -16,6 +16,7 @@
|
||||
#include <cpu_caps.h>
|
||||
#include <errno.h>
|
||||
#include <logmsg.h>
|
||||
#include <vmcs.h>
|
||||
|
||||
/* TODO: add more capability per requirement */
|
||||
/* APICv features */
|
||||
|
@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <errno.h>
|
||||
#include <vcpu.h>
|
||||
#include <bits.h>
|
||||
#include <vmx.h>
|
||||
@ -12,6 +13,10 @@
|
||||
#include <cpu_caps.h>
|
||||
#include <per_cpu.h>
|
||||
#include <init.h>
|
||||
#include <atomic.h>
|
||||
#include <vm.h>
|
||||
#include <vmcs.h>
|
||||
#include <sprintf.h>
|
||||
|
||||
inline uint64_t vcpu_get_gpreg(const struct acrn_vcpu *vcpu, uint32_t reg)
|
||||
{
|
||||
|
@ -30,6 +30,8 @@
|
||||
#ifndef INSTR_EMUL_H
|
||||
#define INSTR_EMUL_H
|
||||
|
||||
#include <vcpu.h>
|
||||
|
||||
struct instr_emul_vie_op {
|
||||
uint8_t op_type; /* type of operation (e.g. MOV) */
|
||||
uint16_t op_flags;
|
||||
|
@ -7,6 +7,9 @@
|
||||
#ifndef ARCH_IRQ_H
|
||||
#define ARCH_IRQ_H
|
||||
|
||||
#include <acrn_common.h>
|
||||
#include <util.h>
|
||||
|
||||
/**
|
||||
* @file arch/x86/irq.h
|
||||
*
|
||||
|
@ -7,15 +7,13 @@
|
||||
#ifndef PER_CPU_H
|
||||
#define PER_CPU_H
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <schedule.h>
|
||||
#include <irq.h>
|
||||
#include <types.h>
|
||||
#include <sbuf.h>
|
||||
#include <gdt.h>
|
||||
#include <timer.h>
|
||||
#include <logmsg.h>
|
||||
#include <irq.h>
|
||||
#include <instr_emul.h>
|
||||
#include <profiling.h>
|
||||
#include <logmsg.h>
|
||||
#include <gdt.h>
|
||||
#include <security.h>
|
||||
|
||||
struct per_cpu_region {
|
||||
|
Loading…
Reference in New Issue
Block a user