Changeset View
Changeset View
Standalone View
Standalone View
head/sys/x86/iommu/intel_idpgtbl.c
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
#include <sys/vmem.h> | #include <sys/vmem.h> | ||||
#include <vm/vm.h> | #include <vm/vm.h> | ||||
#include <vm/vm_extern.h> | #include <vm/vm_extern.h> | ||||
#include <vm/vm_kern.h> | #include <vm/vm_kern.h> | ||||
#include <vm/vm_object.h> | #include <vm/vm_object.h> | ||||
#include <vm/vm_page.h> | #include <vm/vm_page.h> | ||||
#include <vm/vm_pager.h> | #include <vm/vm_pager.h> | ||||
#include <vm/vm_map.h> | #include <vm/vm_map.h> | ||||
#include <dev/pci/pcireg.h> | |||||
#include <machine/atomic.h> | #include <machine/atomic.h> | ||||
#include <machine/bus.h> | #include <machine/bus.h> | ||||
#include <machine/cpu.h> | #include <machine/cpu.h> | ||||
#include <machine/md_var.h> | #include <machine/md_var.h> | ||||
#include <machine/specialreg.h> | #include <machine/specialreg.h> | ||||
#include <x86/include/busdma_impl.h> | #include <x86/include/busdma_impl.h> | ||||
#include <x86/iommu/intel_reg.h> | |||||
#include <dev/iommu/busdma_iommu.h> | #include <dev/iommu/busdma_iommu.h> | ||||
#include <dev/pci/pcireg.h> | #include <x86/iommu/intel_reg.h> | ||||
#include <x86/iommu/intel_dmar.h> | #include <x86/iommu/intel_dmar.h> | ||||
static int domain_unmap_buf_locked(struct dmar_domain *domain, | static int domain_unmap_buf_locked(struct dmar_domain *domain, | ||||
iommu_gaddr_t base, iommu_gaddr_t size, int flags); | iommu_gaddr_t base, iommu_gaddr_t size, int flags); | ||||
/* | /* | ||||
* The cache of the identity mapping page tables for the DMARs. Using | * The cache of the identity mapping page tables for the DMARs. Using | ||||
* the cache saves significant amount of memory for page tables by | * the cache saves significant amount of memory for page tables by | ||||
▲ Show 20 Lines • Show All 734 Lines • Show Last 20 Lines |