mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-06 07:26:56 +00:00
This patch is a modified one. It removes the usage of acrn_vm struct from inside vtd.c. It also puts struct iommu_domain inside vtd.h, from vtd.c. It modifies the signature of init_iommu_domain in order to remove dependency on acrn_vm from inside vtd.c. Incorporated comments from Jason and Eddie. Changed the name of sos_vm_domain to fallback_iommu_domain Removed any reference of sos_vm from vtd.[c|h] files, including comments. Tracked-On: #2496 Signed-off-by: Arindam Roy <arindam.roy@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
47 lines
831 B
C
47 lines
831 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef HV_ARCH_H
|
|
#define HV_ARCH_H
|
|
|
|
#include <cpu.h>
|
|
#include <gdt.h>
|
|
#include <idt.h>
|
|
#include <apicreg.h>
|
|
#include <lapic.h>
|
|
#include <msr.h>
|
|
#include <io.h>
|
|
#include <io_req.h>
|
|
#include <io_emul.h>
|
|
#include <ioapic.h>
|
|
#include <vmtrr.h>
|
|
#include <timer.h>
|
|
#include <vlapic.h>
|
|
#include <schedule.h>
|
|
#include <vcpu.h>
|
|
#include <trusty.h>
|
|
#include <guest_pm.h>
|
|
#include <host_pm.h>
|
|
#include <vpic.h>
|
|
#include <vuart.h>
|
|
#include <vioapic.h>
|
|
#include <vm.h>
|
|
#include <cpuid.h>
|
|
#include <page.h>
|
|
#include <ept.h>
|
|
#include <mmu.h>
|
|
#include <pgtable.h>
|
|
#include <irq.h>
|
|
#include <vmx.h>
|
|
#include <vmcs.h>
|
|
#include <assign.h>
|
|
|
|
#include <guest_memory.h>
|
|
#include <vmexit.h>
|
|
#include <cpufeatures.h>
|
|
|
|
#endif /* HV_ARCH_H */
|