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&regards
sobana.D

RE: ISR not called by anonymous

anonymous
Thu Feb 26 03:06:06 CST 2004

How you are connecting to Interrupt (your call to IoConnectInterrupt)
Are you writing a WDM driver

You will get more help if you post a piece of your code!!

HTH
Vija




RE: ISR not called by anonymous

anonymous
Thu Feb 26 03:26:06 CST 2004

> Secondly when I restart the system, the system was hung.I think the proble
> is due to not disabling the interrupts in correct way.What am I supposed t
> do

This can be because of your hardware bug... Make sure your device's interrupt is OFF
by default. (During system restarts/reboots your device should switch to defaul
settings!

HTH
Vijay