// wdm.h
IOMMU_MAP_LOGICAL_RANGE IommuMapLogicalRange;
NTSTATUS IommuMapLogicalRange(
[_In_] PIOMMU_DMA_DOMAIN Domain,
[_In_] ULONG Permissions,
[_In_] PMDL Mdl,
[_In_] ULONGLONG LogicalAddress
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Maps a range of pages into the address space of the specified domain.
Domain [_In_]A pointer to the handle to the domain.
Permissions [_In_]A ULONG variable that specifies the permissions with which to map the pages.
Mdl [_In_]A pointer to the MDL to map. The provided MDL must specify a whole number of page.
LogicalAddress [_In_]The logical address at which mapping begins. The address must be page aligned.
Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS values error code. For more information, see NTSTATUS Values.