mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +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:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#include <x86/cpu.h>
|
||||
#include <asm/cpu.h>
|
||||
#include <schedule.h>
|
||||
#include <event.h>
|
||||
#include <logmsg.h>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/guest/vm.h>
|
||||
#include <x86/guest/vm_reset.h>
|
||||
#include <x86/guest/vmcs.h>
|
||||
#include <x86/guest/vmexit.h>
|
||||
#include <x86/guest/virq.h>
|
||||
#include <asm/guest/vm.h>
|
||||
#include <asm/guest/vm_reset.h>
|
||||
#include <asm/guest/vmcs.h>
|
||||
#include <asm/guest/vmexit.h>
|
||||
#include <asm/guest/virq.h>
|
||||
#include <schedule.h>
|
||||
#include <profiling.h>
|
||||
#include <sprintf.h>
|
||||
|
||||
@@ -4,26 +4,26 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/guest/vm.h>
|
||||
#include <x86/vmx.h>
|
||||
#include <asm/guest/vm.h>
|
||||
#include <asm/vmx.h>
|
||||
#include <schedule.h>
|
||||
#include <version.h>
|
||||
#include <reloc.h>
|
||||
#include <x86/vtd.h>
|
||||
#include <x86/per_cpu.h>
|
||||
#include <x86/lapic.h>
|
||||
#include <x86/guest/assign.h>
|
||||
#include <x86/guest/ept.h>
|
||||
#include <x86/mmu.h>
|
||||
#include <asm/vtd.h>
|
||||
#include <asm/per_cpu.h>
|
||||
#include <asm/lapic.h>
|
||||
#include <asm/guest/assign.h>
|
||||
#include <asm/guest/ept.h>
|
||||
#include <asm/mmu.h>
|
||||
#include <hypercall.h>
|
||||
#include <errno.h>
|
||||
#include <logmsg.h>
|
||||
#include <x86/ioapic.h>
|
||||
#include <asm/ioapic.h>
|
||||
#include <mmio_dev.h>
|
||||
#include <ivshmem.h>
|
||||
#include <vmcs9900.h>
|
||||
#include <x86/rtcm.h>
|
||||
#include <x86/irq.h>
|
||||
#include <asm/rtcm.h>
|
||||
#include <asm/irq.h>
|
||||
|
||||
#define DBG_LEVEL_HYCALL 6U
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <x86/lib/bits.h>
|
||||
#include <asm/lib/bits.h>
|
||||
#include <irq.h>
|
||||
#include <common/softirq.h>
|
||||
#include <x86/irq.h>
|
||||
#include <x86/per_cpu.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/per_cpu.h>
|
||||
|
||||
static spinlock_t irq_alloc_spinlock = { .head = 0U, .tail = 0U, };
|
||||
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
*/
|
||||
|
||||
#include <hash.h>
|
||||
#include <x86/per_cpu.h>
|
||||
#include <x86/guest/vm.h>
|
||||
#include <asm/per_cpu.h>
|
||||
#include <asm/guest/vm.h>
|
||||
#include <softirq.h>
|
||||
#include <ptdev.h>
|
||||
#include <irq.h>
|
||||
#include <logmsg.h>
|
||||
#include <x86/vtd.h>
|
||||
#include <asm/vtd.h>
|
||||
|
||||
#define PTIRQ_ENTRY_HASHBITS 9U
|
||||
#define PTIRQ_ENTRY_HASHSIZE (1U << PTIRQ_ENTRY_HASHBITS)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <list.h>
|
||||
#include <x86/per_cpu.h>
|
||||
#include <asm/per_cpu.h>
|
||||
#include <schedule.h>
|
||||
|
||||
#define BVT_MCU_MS 1U
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <list.h>
|
||||
#include <per_cpu.h>
|
||||
#include <asm/per_cpu.h>
|
||||
#include <schedule.h>
|
||||
|
||||
#define CONFIG_SLICE_MS 10UL
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <per_cpu.h>
|
||||
#include <asm/per_cpu.h>
|
||||
#include <schedule.h>
|
||||
|
||||
static int32_t sched_noop_init(struct sched_control *ctl)
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
#include <rtl.h>
|
||||
#include <list.h>
|
||||
#include <x86/lib/bits.h>
|
||||
#include <x86/cpu.h>
|
||||
#include <x86/per_cpu.h>
|
||||
#include <x86/lapic.h>
|
||||
#include <asm/lib/bits.h>
|
||||
#include <asm/cpu.h>
|
||||
#include <asm/per_cpu.h>
|
||||
#include <asm/lapic.h>
|
||||
#include <schedule.h>
|
||||
#include <sprintf.h>
|
||||
#include <x86/irq.h>
|
||||
#include <asm/irq.h>
|
||||
|
||||
bool is_idle_thread(const struct thread_object *obj)
|
||||
{
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <x86/lib/bits.h>
|
||||
#include <x86/cpu.h>
|
||||
#include <x86/per_cpu.h>
|
||||
#include <asm/lib/bits.h>
|
||||
#include <asm/cpu.h>
|
||||
#include <asm/per_cpu.h>
|
||||
#include <softirq.h>
|
||||
|
||||
static softirq_handler softirq_handlers[NR_SOFTIRQS];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/guest/vm.h>
|
||||
#include <asm/guest/vm.h>
|
||||
#include <hypercall.h>
|
||||
#include <errno.h>
|
||||
#include <logmsg.h>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <x86/guest/vm.h>
|
||||
#include <x86/e820.h>
|
||||
#include <x86/zeropage.h>
|
||||
#include <x86/guest/ept.h>
|
||||
#include <x86/mmu.h>
|
||||
#include <asm/guest/vm.h>
|
||||
#include <asm/e820.h>
|
||||
#include <asm/zeropage.h>
|
||||
#include <asm/guest/ept.h>
|
||||
#include <asm/mmu.h>
|
||||
#include <multiboot.h>
|
||||
#include <errno.h>
|
||||
#include <sprintf.h>
|
||||
|
||||
Reference in New Issue
Block a user