Regola IrqlDispatch (wdm)
La regola IrqlDispatch specifica che il driver chiama le DDI seguenti solo quando viene eseguito in IRQL = DISPATCH_LEVEL.
Modello di driver: WDM
Verifica bug rilevata con questa regola: Controllo bug 0xA: IRQL_NOT_LESS_OR_EQUAL , Controllo bug 0xC4: DRIVER_VERIFIER_DETECTED_VIOLATION (0x00020003)
Come eseguire il test
In fase di compilazione |
---|
Eseguire Static Driver Verifier e specificare la regola IrqlDispatch . Usa i passaggi descritti di seguito per eseguire un'analisi del codice:
Per altre informazioni, vedere Using Static Driver Verifier to Find Defects in Drivers.For more information, see Using Static Driver Verifier to Find Defects in Drivers. |
In fase di esecuzione |
---|
Eseguire Verifica driver e selezionare l'opzione di controllo della conformità DDI . |
Si applica a
AllocateAdapterChannelAllocateCommonBufferBuildMdlFromScatterGatherListBuildScatterGatherListFlushAdapterBuffersFreeAdapterChannelFreeCommonBufferFreeMapRegistersGetDmaAlignmentGetScatterGatherListIoAllocateControllerIoFreeControllerIoStartNextPacketIoWriteErrorLogEntryKeInsertByKeyDeviceQueueKeInsertDeviceQueueKeRemoveByKeyDeviceQueueKeRemoveDeviceQueueMapTransferPutDmaAdapterPutScatterGatherListReadDmaCounter
Vedi anche
Gestione delle priorità hardwareche impediscono errori e deadlock durante l'uso dei blocchi di selezione
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per