aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iommu/iommu.h
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2020-09-10 14:12:25 +0000
committerRuslan Bukin <br@FreeBSD.org>2020-09-10 14:12:25 +0000
commitcb9050dd21b28f6e735649556ca63d09c4ba4efb (patch)
tree956a9e1f8a6d165cebe4fec2544d463c82c79613 /sys/dev/iommu/iommu.h
parent22a39a89129067ab2d3edd486f159ee668b52394 (diff)
downloadsrc-cb9050dd21b28f6e735649556ca63d09c4ba4efb.tar.gz
src-cb9050dd21b28f6e735649556ca63d09c4ba4efb.zip
Move the rid variable to the generic iommu context.
It could be used in various IOMMU platforms, not only DMAR. Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D26373
Notes
Notes: svn path=/head/; revision=365577
Diffstat (limited to 'sys/dev/iommu/iommu.h')
-rw-r--r--sys/dev/iommu/iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/iommu/iommu.h b/sys/dev/iommu/iommu.h
index 7ff5420c9757..dee343f95d6f 100644
--- a/sys/dev/iommu/iommu.h
+++ b/sys/dev/iommu/iommu.h
@@ -135,6 +135,7 @@ struct iommu_ctx {
u_long loads; /* atomic updates, for stat only */
u_long unloads; /* same */
u_int flags; /* (u) */
+ uint16_t rid; /* (c) pci RID */
};
/* struct iommu_ctx flags */