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:
Zide Chen
2018-05-21 17:30:50 -07:00
committed by lijinxia
parent d594878e31
commit 8f16faab04
69 changed files with 21 additions and 246 deletions

View File

@@ -28,9 +28,6 @@
*/
#include <hypervisor.h>
#include <hv_lib.h>
#include <cpu.h>
#include <hv_debug.h>
#include "acpi.h"
#ifdef CONFIG_EFI_STUB
#include <acrn_efi.h>

View File

@@ -27,14 +27,9 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "bsp_cfg.h"
#ifdef CONFIG_DMAR_PARSE_ENABLED
#include <hypervisor.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <hv_debug.h>
#include "vtd.h"
#include "acpi.h"

View File

@@ -29,10 +29,6 @@
*/
#include <hypervisor.h>
#include <hv_lib.h>
#include <acrn_common.h>
#include <hv_arch.h>
#include <hv_debug.h>
#include <multiboot.h>
#include <zeropage.h>