Iam writing a device driver for PCI card
Iam using a interrupt.
I have initialized the interrupt and connected the InterruptServiceRoutine
by the call IoConnectInterrupt.Also the DPC object is initialized for the
DpcForIsr routine by IoInitializeDpcRequest.
In the interrupt service routine
First checked for the interrupt whether it is from my card if it is not
returned FALSE immediately.
If it is from my card then acknoledged it. Then some processing is done.
Then the DPC object is queued to continue the request processing by
IoRequestDpc.
Return TRUE from the Interrupt Service routine.
When I debugged the program ISR routine is not called.
Am I doing any mistake.
Secondly when I restart the system, the system was hung.I think the problem
is due to not disabling the interrupts in correct way.What am I supposed to
do.
How to solve these problems?
thanks®ards
sobana.D