mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 14:33:38 +00:00
hv: merge hv_lib.h and hypervisor.h
merge hv_lib.h and hypervisor.h into one file Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
3178ecea72
commit
74622d7d29
@ -4,12 +4,7 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hv_lib.h>
|
||||
#include <acrn_common.h>
|
||||
#include <hv_arch.h>
|
||||
#include <hv_debug.h>
|
||||
#include <bsp_extern.h>
|
||||
#include <mptable.h>
|
||||
#include <hypervisor.h>
|
||||
|
||||
#define MPTABLE_BASE 0xF0000U
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#include <hv_lib.h>
|
||||
#include <hv_arch.h>
|
||||
#include <hypervisor.h>
|
||||
#include <vm0_boot.h>
|
||||
|
||||
#define CAT_(A,B) A ## B
|
||||
|
@ -35,10 +35,6 @@
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <hv_lib.h>
|
||||
#include <acrn_common.h>
|
||||
#include <hv_arch.h>
|
||||
#include <hv_debug.h>
|
||||
#include "pci_priv.h"
|
||||
|
||||
static int vdev_hostbridge_init(struct pci_vdev *vdev)
|
||||
|
@ -30,10 +30,6 @@
|
||||
/* Passthrough PCI device related operations */
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <hv_lib.h>
|
||||
#include <acrn_common.h>
|
||||
#include <hv_arch.h>
|
||||
#include <hv_debug.h>
|
||||
#include "pci_priv.h"
|
||||
|
||||
|
||||
|
@ -30,11 +30,6 @@
|
||||
/* Virtual PCI device related operations (read/write, etc) */
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <hv_lib.h>
|
||||
#include <acrn_common.h>
|
||||
#include <hv_arch.h>
|
||||
#include <hv_debug.h>
|
||||
#include <acrn_hv_defs.h>
|
||||
#include "pci_priv.h"
|
||||
|
||||
|
||||
|
@ -28,10 +28,6 @@
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <hv_lib.h>
|
||||
#include <acrn_common.h>
|
||||
#include <hv_arch.h>
|
||||
#include <hv_debug.h>
|
||||
#include "pci_priv.h"
|
||||
|
||||
|
||||
|
@ -5,10 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <hypervisor.h>
|
||||
#include <hv_lib.h>
|
||||
#include <acrn_common.h>
|
||||
#include <hv_arch.h>
|
||||
#include <hv_debug.h>
|
||||
|
||||
#define CMOS_ADDR_PORT 0x70U
|
||||
#define CMOS_DATA_PORT 0x71U
|
||||
|
@ -1,21 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef HV_LIB_H
|
||||
#define HV_LIB_H
|
||||
|
||||
#include <types.h>
|
||||
#include <errno.h>
|
||||
#include <rtl.h>
|
||||
#include <spinlock.h>
|
||||
#include <mem_mgt.h>
|
||||
#include <util.h>
|
||||
#include <list.h>
|
||||
#include <atomic.h>
|
||||
#include <bits.h>
|
||||
#include <sprintf.h>
|
||||
|
||||
#endif /* HV_LIB_H */
|
@ -22,9 +22,17 @@
|
||||
|
||||
/* Include config header file containing config options */
|
||||
#include <types.h>
|
||||
#include <errno.h>
|
||||
#include <rtl.h>
|
||||
#include <spinlock.h>
|
||||
#include <mem_mgt.h>
|
||||
#include <util.h>
|
||||
#include <list.h>
|
||||
#include <atomic.h>
|
||||
#include <bits.h>
|
||||
#include <sprintf.h>
|
||||
#include "acrn_common.h"
|
||||
#include <acrn_hv_defs.h>
|
||||
#include <hv_lib.h>
|
||||
#include <hv_arch.h>
|
||||
#include <hv_debug.h>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hv_lib.h>
|
||||
#include <hypervisor.h>
|
||||
|
||||
void udelay(uint32_t us)
|
||||
{
|
||||
|
@ -4,7 +4,7 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <hv_lib.h>
|
||||
#include <hypervisor.h>
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL ((void *) 0)
|
||||
|
Loading…
Reference in New Issue
Block a user