diff options
author | Ruslan Bukin <br@FreeBSD.org> | 2020-09-10 14:12:25 +0000 |
---|---|---|
committer | Ruslan Bukin <br@FreeBSD.org> | 2020-09-10 14:12:25 +0000 |
commit | cb9050dd21b28f6e735649556ca63d09c4ba4efb (patch) | |
tree | 956a9e1f8a6d165cebe4fec2544d463c82c79613 /sys/dev/iommu/iommu.h | |
parent | 22a39a89129067ab2d3edd486f159ee668b52394 (diff) | |
download | src-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.h | 1 |
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 */ |