iommu_msi.h (e707c8be4e8d5f4d542a1344dc6d96bcc08d0b4f) iommu_msi.h (f32f0095e9da8188a3865aaa310f547ee9e0c20b)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2020 Andrew Turner
5 *
6 * This work was supported by Innovate UK project 105694, "Digital Security
7 * by Design (DSbD) Technology Platform Prototype".
8 *

--- 28 unchanged lines hidden (view full) ---

37
38struct iommu_unit;
39struct iommu_domain;
40struct iommu_ctx;
41
42void iommu_translate_msi(struct iommu_domain *domain, uint64_t *addr);
43int iommu_map_msi(struct iommu_ctx *ctx, iommu_gaddr_t size, int offset,
44 u_int eflags, u_int flags, vm_page_t *ma);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2020 Andrew Turner
5 *
6 * This work was supported by Innovate UK project 105694, "Digital Security
7 * by Design (DSbD) Technology Platform Prototype".
8 *

--- 28 unchanged lines hidden (view full) ---

37
38struct iommu_unit;
39struct iommu_domain;
40struct iommu_ctx;
41
42void iommu_translate_msi(struct iommu_domain *domain, uint64_t *addr);
43int iommu_map_msi(struct iommu_ctx *ctx, iommu_gaddr_t size, int offset,
44 u_int eflags, u_int flags, vm_page_t *ma);
45void iommu_unmap_msi(struct iommu_ctx *ctx);
45
46#endif /* !_DEV_IOMMU_IOMMU_MSI_H_ */
46
47#endif /* !_DEV_IOMMU_IOMMU_MSI_H_ */