mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 11:20:32 +00:00
hv: mod: do not use explicit arch name when including headers
Instead of "#include <x86/foo.h>", use "#include <asm/foo.h>". In other words, we are adopting the same practice in Linux kernel. Tracked-On: #5920 Signed-off-by: Liang Yi <yi.liang@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
#include <pci_devices.h>
|
||||
#include <vpci.h>
|
||||
#include <vbar_base.h>
|
||||
#include <x86/mmu.h>
|
||||
#include <x86/page.h>
|
||||
#include <asm/mmu.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
|
||||
|
@@ -4,5 +4,5 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
struct pt_intx_config vm0_pt_intx[1U];
|
||||
|
@@ -4,9 +4,9 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
#include <vuart.h>
|
||||
#include <x86/pci_dev.h>
|
||||
#include <asm/pci_dev.h>
|
||||
extern struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
|
||||
extern struct pt_intx_config vm0_pt_intx[1U];
|
||||
struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
|
@@ -8,7 +8,7 @@
|
||||
#define IVSHMEM_CFG_H
|
||||
|
||||
#include <ivshmem.h>
|
||||
#include <x86/pgtable.h>
|
||||
#include <asm/pgtable.h>
|
||||
#define IVSHMEM_SHM_REGION_0 "hv:/shm_region_0"
|
||||
|
||||
/* The IVSHMEM_SHM_SIZE is the sum of all memory regions. The size range of each memory region is [2MB, 512MB] and is a
|
||||
|
@@ -4,12 +4,12 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
#include <pci_devices.h>
|
||||
#include <vpci.h>
|
||||
#include <vbar_base.h>
|
||||
#include <x86/mmu.h>
|
||||
#include <x86/page.h>
|
||||
#include <asm/mmu.h>
|
||||
#include <asm/page.h>
|
||||
#include <ivshmem_cfg.h>
|
||||
|
||||
/*
|
||||
|
@@ -4,5 +4,5 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
struct pt_intx_config vm0_pt_intx[1U];
|
||||
|
@@ -4,9 +4,9 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
#include <vuart.h>
|
||||
#include <x86/pci_dev.h>
|
||||
#include <asm/pci_dev.h>
|
||||
extern struct acrn_vm_pci_dev_config vm0_pci_devs[VM0_CONFIG_PCI_DEV_NUM];
|
||||
extern struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
|
||||
extern struct acrn_vm_pci_dev_config vm2_pci_devs[VM2_CONFIG_PCI_DEV_NUM];
|
||||
|
@@ -4,11 +4,11 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
#include <pci_devices.h>
|
||||
#include <vpci.h>
|
||||
#include <vbar_base.h>
|
||||
#include <x86/mmu.h>
|
||||
#include <x86/page.h>
|
||||
#include <asm/mmu.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
|
||||
|
@@ -4,5 +4,5 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
struct pt_intx_config vm0_pt_intx[1U];
|
||||
|
@@ -4,9 +4,9 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
#include <vuart.h>
|
||||
#include <x86/pci_dev.h>
|
||||
#include <asm/pci_dev.h>
|
||||
extern struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
|
||||
extern struct pt_intx_config vm0_pt_intx[1U];
|
||||
struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
|
@@ -4,9 +4,9 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
#include <pci_devices.h>
|
||||
#include <vpci.h>
|
||||
#include <vbar_base.h>
|
||||
#include <x86/mmu.h>
|
||||
#include <x86/page.h>
|
||||
#include <asm/mmu.h>
|
||||
#include <asm/page.h>
|
||||
|
@@ -4,5 +4,5 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
struct pt_intx_config vm0_pt_intx[1U];
|
||||
|
@@ -4,9 +4,9 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/vm_config.h>
|
||||
#include <asm/vm_config.h>
|
||||
#include <vuart.h>
|
||||
#include <x86/pci_dev.h>
|
||||
#include <asm/pci_dev.h>
|
||||
extern struct pt_intx_config vm0_pt_intx[1U];
|
||||
struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {
|
||||
{
|
||||
|
Reference in New Issue
Block a user