Changeset View
Changeset View
Standalone View
Standalone View
head/sys/x86/iommu/intel_idpgtbl.c
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | |||||
#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 <x86/iommu/intel_reg.h> | ||||
#include <x86/iommu/busdma_dmar.h> | #include <x86/iommu/busdma_dmar.h> | ||||
#include <dev/pci/pcireg.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, | ||||
dmar_gaddr_t base, dmar_gaddr_t size, int flags); | dmar_gaddr_t base, dmar_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 726 Lines • Show Last 20 Lines |