MmUnmapIoSpace

VOID
    MmUnmapIoSpace(

        IN PVOID  BaseAddress,
        IN ULONG  NumberOfBytes
        );

MmUnmapIoSpace unmaps a specified range of physical addresses previously mapped by MmMapIoSpace.

Parameters

BaseAddress
Points to the base virtual address to which the physical pages were mapped.
NumberOfBytes
Specifies the number of bytes that were mapped.

Comments

Callers of MmUnmapIoSpace must be running at IRQL = PASSIVE_LEVEL.

See Also

MmMapIoSpace