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:
parent
b0f96e1ec8
commit
ececadfec1
@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
#include <sys/conf.h>
|
#include <sys/conf.h>
|
||||||
#include <sys/interrupt.h>
|
#include <sys/interrupt.h>
|
||||||
#include <sys/iommu.h>
|
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
#include <sys/ktr.h>
|
#include <sys/ktr.h>
|
||||||
#include <sys/lock.h>
|
#include <sys/lock.h>
|
||||||
@ -68,6 +67,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#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 <dev/iommu/busdma_iommu.h>
|
#include <dev/iommu/busdma_iommu.h>
|
||||||
|
#include <dev/iommu/iommu.h>
|
||||||
#include <x86/iommu/intel_dmar.h>
|
#include <x86/iommu/intel_dmar.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#ifndef __X86_IOMMU_BUSDMA_DMAR_H
|
#ifndef __X86_IOMMU_BUSDMA_DMAR_H
|
||||||
#define __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_iommu {
|
||||||
struct bus_dma_tag_common common;
|
struct bus_dma_tag_common common;
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#ifndef __X86_IOMMU_INTEL_DMAR_H
|
#ifndef __X86_IOMMU_INTEL_DMAR_H
|
||||||
#define __X86_IOMMU_INTEL_DMAR_H
|
#define __X86_IOMMU_INTEL_DMAR_H
|
||||||
|
|
||||||
#include <sys/iommu.h>
|
#include <dev/iommu/iommu.h>
|
||||||
|
|
||||||
struct dmar_unit;
|
struct dmar_unit;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user