Irql_Miniport_Driver_Function rule (ndis)
The Irql_Miniport_Driver_Function rule specifies that the NDIS functions for miniport drivers must be called at correct IRQL levels.
This rule verifies functions for NDIS miniport driver logging, NDIS ports, and NDIS DMA interface.
NdisMCreateLog NdisMDeregisterDmaChannel NdisMDeregisterIoPortRange NdisMDeregisterMiniportDriver NdisMFlushLog NdisMFreePort NdisMFreeSharedMemory NdisMGetDeviceProperty NdisMGetDmaAlignment NdisMMapIoSpace NdisMPauseComplete NdisMQueryAdapterInstanceName NdisMReadDmaCounter NdisMRegisterDmaChannel NdisMRegisterIoPortRange NdisMRegisterMiniportDriver NdisMRemoveMiniport NdisMResetComplete NdisMRestartComplete NdisMSetMiniportAttributes NdisMSetupDmaTransfer NdisMSleep NdisMUnmapIoSpace NdisMUpdateSharedMemory NdisMWriteLogData
Driver model: NDIS
How to test
At compile time |
---|
Run Static Driver Verifier and specify the Irql_Miniport_Driver_Function rule. Use the following steps to run an analysis of your code:
For more information, see Using Static Driver Verifier to Find Defects in Drivers. |
Applies to
NdisMCreateLog NdisMDeregisterDmaChannel NdisMDeregisterIoPortRange NdisMDeregisterMiniportDriver NdisMFlushLog NdisMFreePort NdisMFreeSharedMemory NdisMGetDeviceProperty NdisMGetDmaAlignment NdisMMapIoSpace NdisMPauseComplete NdisMQueryAdapterInstanceName NdisMReadDmaCounter NdisMRegisterDmaChannel NdisMRegisterIoPortRange NdisMRegisterMiniportDriver NdisMRemoveMiniport NdisMResetComplete NdisMRestartComplete NdisMSetMiniportAttributes NdisMSetupDmaTransfer NdisMSleep NdisMUnmapIoSpace NdisMWriteLogData