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:
Mingqiang Chi 2019-02-15 14:45:09 +08:00 committed by wenlingz
parent c093638bf6
commit 75f6cab554
5 changed files with 15 additions and 6 deletions

View File

@ -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 */

View File

@ -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)
{

View File

@ -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;

View File

@ -7,6 +7,9 @@
#ifndef ARCH_IRQ_H
#define ARCH_IRQ_H
#include <acrn_common.h>
#include <util.h>
/**
* @file arch/x86/irq.h
*

View File

@ -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 {