MCPcopy Create free account
hub / github.com/F-Stack/f-stack / IOMMU_CREATE_MAPPING

Function IOMMU_CREATE_MAPPING

freebsd/amd64/vmm/io/iommu.c:100–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100static __inline uint64_t
101IOMMU_CREATE_MAPPING(void *domain, vm_paddr_t gpa, vm_paddr_t hpa, uint64_t len)
102{
103
104 if (ops != NULL && iommu_avail)
105 return ((*ops->create_mapping)(domain, gpa, hpa, len));
106 else
107 return (len); /* XXX */
108}
109
110static __inline uint64_t
111IOMMU_REMOVE_MAPPING(void *domain, vm_paddr_t gpa, uint64_t len)

Callers 1

iommu_create_mappingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected