I am working with a PCI based WDF function driver. I've created an
interrupt object using wdfinterruptcreate() & initialized the
WDF_INTERRUPT_CONFIG with ISR handler, DPC routine. From the WDF
documentation, i found that the framework takes care of adding interrupt
resource information when the device moves into D0 state. Now the problem is,
after doing all this initialization my interrupt handler doesn't gets invoked
when my hardware raises an interrupt after the device moves into D0 state
eventhough all the interrupts has been enabled. I could notice that the
framework has added the interrupt resource information to the interrupt
object, by using WdfInterruptGetInfo() in the context of SelfManagedIoInit
callback. Am I missing anything related with the interrupt handling?
Thanks,
Murugesan
Are you sure that your hardware generate interrupt? You should check
it by using PCI Bus analyzer.
You could also check if your device get PCI resources, including
Interrupt, by using WinDbg command !pci.
Igor Sharovar
d
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Murugesan" <Muru...@discussions.microsoft.com> wrote in message
news:70DE1BF5-1409-408C...@microsoft.com...
Murugesan
"Doron Holan [MSFT]" wrote:
> .
>
d
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Murugesan" <Muru...@discussions.microsoft.com> wrote in message
news:7FE38A6D-FFDE-4D59...@microsoft.com...
Does failing to enable interrupts in EvtInterruptEnable or
EvtDeviceD0EntryPostInterruptsEnabled callbacks makes the interrupt handler
not to be invoked ? Do they really have any relation ?
"Doron Holan [MSFT]" wrote:
> .
>
d
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Murugesan" <Muru...@discussions.microsoft.com> wrote in message
news:D20534EA-16EB-472D...@microsoft.com...
"Doron Holan [MSFT]" wrote:
> .
>