x86_iommu.h (29e227047065c6b1d08fdb72a21f33560637332b) | x86_iommu.h (0386b2451592ec04e4cff826b698f978a45ab3e4) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 2013-2015, 2024 The FreeBSD Foundation 5 * 6 * This software was developed by Konstantin Belousov <kib@FreeBSD.org> 7 * under sponsorship from the FreeBSD Foundation. 8 * --- 41 unchanged lines hidden (view full) --- 50 int flags); 51void iommu_pgfree(struct vm_object *obj, vm_pindex_t idx, int flags); 52void *iommu_map_pgtbl(struct vm_object *obj, vm_pindex_t idx, int flags, 53 struct sf_buf **sf); 54void iommu_unmap_pgtbl(struct sf_buf *sf); 55 56extern iommu_haddr_t iommu_high; 57extern int iommu_tbl_pagecnt; | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 2013-2015, 2024 The FreeBSD Foundation 5 * 6 * This software was developed by Konstantin Belousov <kib@FreeBSD.org> 7 * under sponsorship from the FreeBSD Foundation. 8 * --- 41 unchanged lines hidden (view full) --- 50 int flags); 51void iommu_pgfree(struct vm_object *obj, vm_pindex_t idx, int flags); 52void *iommu_map_pgtbl(struct vm_object *obj, vm_pindex_t idx, int flags, 53 struct sf_buf **sf); 54void iommu_unmap_pgtbl(struct sf_buf *sf); 55 56extern iommu_haddr_t iommu_high; 57extern int iommu_tbl_pagecnt; |
58extern int iommu_qi_batch_coalesce; |
|
58 59SYSCTL_DECL(_hw_iommu); | 59 60SYSCTL_DECL(_hw_iommu); |
60SYSCTL_DECL(_hw_iommu_dmar); | |
61 62struct x86_unit_common; 63 64struct x86_iommu { 65 struct x86_unit_common *(*get_x86_common)(struct 66 iommu_unit *iommu); 67 void (*qi_ensure)(struct iommu_unit *unit, int descr_count); 68 void (*qi_emit_wait_descr)(struct iommu_unit *unit, uint32_t seq, --- 127 unchanged lines hidden --- | 61 62struct x86_unit_common; 63 64struct x86_iommu { 65 struct x86_unit_common *(*get_x86_common)(struct 66 iommu_unit *iommu); 67 void (*qi_ensure)(struct iommu_unit *unit, int descr_count); 68 void (*qi_emit_wait_descr)(struct iommu_unit *unit, uint32_t seq, --- 127 unchanged lines hidden --- |