Move sys/iommu.h to dev/iommu/ as a part of generic IOMMU busdma backend.

Reviewed by:	kib
Sponsored by:	DARPA/AFRL
Differential Revision:	https://reviews.freebsd.org/D25750
This commit is contained in:
Ruslan Bukin 2020-07-21 13:50:10 +00:00
parent f2b2f31707
commit 1238a28d15
4 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/conf.h>
#include <sys/interrupt.h>
#include <sys/iommu.h>
#include <sys/kernel.h>
#include <sys/ktr.h>
#include <sys/lock.h>
@ -68,6 +67,7 @@ __FBSDID("$FreeBSD$");
#include <x86/include/busdma_impl.h>
#include <x86/iommu/intel_reg.h>
#include <dev/iommu/busdma_iommu.h>
#include <dev/iommu/iommu.h>
#include <x86/iommu/intel_dmar.h>
#endif

View File

@ -34,7 +34,7 @@
#ifndef __X86_IOMMU_BUSDMA_DMAR_H
#define __X86_IOMMU_BUSDMA_DMAR_H
#include <sys/iommu.h>
#include <dev/iommu/iommu.h>
struct bus_dma_tag_iommu {
struct bus_dma_tag_common common;

View File

@ -34,7 +34,7 @@
#ifndef __X86_IOMMU_INTEL_DMAR_H
#define __X86_IOMMU_INTEL_DMAR_H
#include <sys/iommu.h>
#include <dev/iommu/iommu.h>
struct dmar_unit;