mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
HV: further cleanup of header inclusions
According to the comments in hypervisor: " This file includes config header file "bsp_cfg.h" and other hypervisor used header files. It should be included in all the source files." this patch includes all common header files in hypervisor.h then removes other redundant inclusions Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
@@ -46,7 +46,13 @@
|
||||
#define HYPERVISOR_H
|
||||
|
||||
/* Include config header file containing config options */
|
||||
#include <types.h>
|
||||
#include "bsp_cfg.h"
|
||||
#include "acrn_common.h"
|
||||
#include <acrn_hv_defs.h>
|
||||
#include <hv_lib.h>
|
||||
#include <hv_arch.h>
|
||||
#include <hv_debug.h>
|
||||
|
||||
#ifndef ASSEMBLER
|
||||
/* hpa <--> hva, now it is 1:1 mapping */
|
||||
|
@@ -31,8 +31,6 @@
|
||||
#ifndef SPINLOCK_H
|
||||
#define SPINLOCK_H
|
||||
|
||||
#include <hypervisor.h>
|
||||
|
||||
#ifndef ASSEMBLER
|
||||
|
||||
#include <types.h>
|
||||
|
@@ -39,11 +39,6 @@
|
||||
#ifndef ACRN_HV_DEFS_H
|
||||
#define ACRN_HV_DEFS_H
|
||||
|
||||
/*
|
||||
* Common structures for ACRN/VHM/DM
|
||||
*/
|
||||
#include "acrn_common.h"
|
||||
|
||||
/*
|
||||
* Common structures for HV/VHM
|
||||
*/
|
||||
|
Reference in New Issue
Block a user