IOMMU_UNMAP_RESERVED_LOGICAL_RANGE callback function (wdm.h)

Unmaps a previously mapped reserved logical range. Unlike IOMMU_UNMAP_LOGICAL_RANGE, this is guaranteed not to delete any page table resources so that the logical address range can be reused without performing any memory allocations.

Syntax

IOMMU_UNMAP_RESERVED_LOGICAL_RANGE IommuUnmapReservedLogicalRange;

NTSTATUS IommuUnmapReservedLogicalRange(
  [in, out] PIOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT MappedSegment
)
{...}

Parameters

[in, out] MappedSegment

The IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT to be unmapped.

Return value

STATUS_SUCCESS if the operation is successful.

STATUS_INVALID_PARAMETER if the mapped segment provided was not mapped.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header wdm.h (include Wdm.h)

See also

IOMMU_MAP_RESERVED_LOGICAL_RANGE

IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT