diff options
author | Ryan Stone <rstone@FreeBSD.org> | 2014-04-01 15:06:03 +0000 |
---|---|---|
committer | Ryan Stone <rstone@FreeBSD.org> | 2014-04-01 15:06:03 +0000 |
commit | 7036ae46bf60ad64447bc9ab2152256b89dd5e5f (patch) | |
tree | d8994b013bba28481c3b3634fb67dc485b753a1d /sys/amd64/vmm/io/iommu.h | |
parent | 956ed3830cdee3fe93fa64bb1175cf918327fbb3 (diff) | |
download | src-7036ae46bf60ad64447bc9ab2152256b89dd5e5f.tar.gz src-7036ae46bf60ad64447bc9ab2152256b89dd5e5f.zip |
Notes
Diffstat (limited to 'sys/amd64/vmm/io/iommu.h')
-rw-r--r-- | sys/amd64/vmm/io/iommu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/vmm/io/iommu.h b/sys/amd64/vmm/io/iommu.h index 36b44faf135d..d5c1d6ecfa53 100644 --- a/sys/amd64/vmm/io/iommu.h +++ b/sys/amd64/vmm/io/iommu.h @@ -39,8 +39,8 @@ typedef uint64_t (*iommu_create_mapping_t)(void *domain, vm_paddr_t gpa, vm_paddr_t hpa, uint64_t len); typedef uint64_t (*iommu_remove_mapping_t)(void *domain, vm_paddr_t gpa, uint64_t len); -typedef void (*iommu_add_device_t)(void *domain, uint16_t rid); -typedef void (*iommu_remove_device_t)(void *dom, uint16_t rid); +typedef void (*iommu_add_device_t)(void *domain, int bus, int slot, int func); +typedef void (*iommu_remove_device_t)(void *dom, int bus, int slot, int func); typedef void (*iommu_invalidate_tlb_t)(void *dom); struct iommu_ops { @@ -69,7 +69,7 @@ void iommu_destroy_domain(void *dom); void iommu_create_mapping(void *dom, vm_paddr_t gpa, vm_paddr_t hpa, size_t len); void iommu_remove_mapping(void *dom, vm_paddr_t gpa, size_t len); -void iommu_add_device(void *dom, uint16_t rid); -void iommu_remove_device(void *dom, uint16_t rid); +void iommu_add_device(void *dom, int bus, int slot, int func); +void iommu_remove_device(void *dom, int bus, int slot, int func); void iommu_invalidate_tlb(void *domain); #endif |