IOMMU_SET_DEVICE_FAULT_REPORTING - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

IOMMU_SET_DEVICE_FAULT_REPORTING IommuSetDeviceFaultReporting;

NTSTATUS IommuSetDeviceFaultReporting(
  [In] PDEVICE_OBJECT PhysicalDeviceObject,
  [In] ULONG InputMappingIdBase,
  [In] BOOLEAN Enable,
  [in] PDEVICE_FAULT_CONFIGURATION FaultConfig
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdm-iommu_set_device_fault_reporting)

Description

This routine sets the device fault reporting state to a device already attached to a domain.

It is driver's responsibility to ensure that this function is not called concurrently with any IommuDomainAttachDevice or IommuDomainDetachDevice calls on the same device.

Parameters

PhysicalDeviceObject [In]

A pointer the physical device object (PDO) in the device stack of the device.

InputMappingIdBase [In]

The input mapping base for the device's desired stream.

Enable [In]

a BOOLEAN value that indicates whether to enable fault reporting for the device.

FaultConfig [in]

Optional. A pointer to DEVICE_FAULT_CONFIGURATION. This is only used for enabling fault reporting.

Return value

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

Remarks

Register your implementation of this callback function by setting SetDeviceFaultReporting of _DMA_IOMMU_INTERFACE.

See also