Changeset View
Changeset View
Standalone View
Standalone View
head/sys/x86/iommu/intel_qi.c
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
#include <vm/vm_extern.h> | #include <vm/vm_extern.h> | ||||
#include <vm/vm_kern.h> | #include <vm/vm_kern.h> | ||||
#include <vm/vm_page.h> | #include <vm/vm_page.h> | ||||
#include <vm/vm_map.h> | #include <vm/vm_map.h> | ||||
#include <machine/cpu.h> | #include <machine/cpu.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 bool | static bool | ||||
dmar_qi_seq_processed(const struct dmar_unit *unit, | dmar_qi_seq_processed(const struct dmar_unit *unit, | ||||
const struct dmar_qi_genseq *pseq) | const struct dmar_qi_genseq *pseq) | ||||
{ | { | ||||
return (pseq->gen < unit->inv_waitd_gen || | return (pseq->gen < unit->inv_waitd_gen || | ||||
▲ Show 20 Lines • Show All 406 Lines • Show Last 20 Lines |