Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/iommu/iommu.h
Show All 28 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _SYS_IOMMU_H_ | #ifndef _SYS_IOMMU_H_ | ||||
#define _SYS_IOMMU_H_ | #define _SYS_IOMMU_H_ | ||||
#include <sys/types.h> | |||||
#include <sys/queue.h> | |||||
#include <sys/sysctl.h> | |||||
#include <sys/taskqueue.h> | |||||
#include <sys/tree.h> | |||||
#include <dev/pci/pcireg.h> | |||||
/* Host or physical memory address, after translation. */ | /* Host or physical memory address, after translation. */ | ||||
typedef uint64_t iommu_haddr_t; | typedef uint64_t iommu_haddr_t; | ||||
/* Guest or bus address, before translation. */ | /* Guest or bus address, before translation. */ | ||||
typedef uint64_t iommu_gaddr_t; | typedef uint64_t iommu_gaddr_t; | ||||
struct bus_dma_tag_common; | struct bus_dma_tag_common; | ||||
struct iommu_map_entry; | struct iommu_map_entry; | ||||
TAILQ_HEAD(iommu_map_entries_tailq, iommu_map_entry); | TAILQ_HEAD(iommu_map_entries_tailq, iommu_map_entry); | ||||
▲ Show 20 Lines • Show All 181 Lines • Show Last 20 Lines |