Bewerken

Delen via


IOMMU_MAP_LOGICAL_RANGE callback function (wdm.h)

Maps a range of pages into the address space of the specified domain.

Syntax

IOMMU_MAP_LOGICAL_RANGE IommuMapLogicalRange;

NTSTATUS IommuMapLogicalRange(
  [_In_] PIOMMU_DMA_DOMAIN Domain,
  [_In_] ULONG Permissions,
  [_In_] PMDL Mdl,
  [_In_] ULONGLONG LogicalAddress
)
{...}

Parameters

[_In_] Domain

A pointer to the handle to the domain.

[_In_] Permissions

A ULONG variable that specifies the permissions with which to map the pages.

[_In_] Mdl

A pointer to the MDL to map. The provided MDL must specify a whole number of page.

[_In_] LogicalAddress

The logical address at which mapping begins. The address must be page aligned.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS values error code. For more information, see NTSTATUS Values.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803
Header wdm.h (include Wdm.h)