Welcome to WinForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

A problem with interrupt. Please help.

 
   Windows XP Arc1 (Home) -> Device Driver RSS
Next:  Game settings won't save  
Author Message
D.D.Martin

External


Since: Oct 17, 2005
Posts: 1



(Msg. 1) Posted: Mon Oct 17, 2005 4:15 am
Post subject: A problem with interrupt. Please help.
Archived from groups: microsoft>public>windowsxp>device_driver>dev (more info?)

In short, an DeviceOnInterrupt routine never receive control. Where to
go - that's the question.
The computer simply hangs.
----
I have:

BOOLEAN DeviceOnInterrupt(PKINTERRUPT InterruptObj, pDEVICE_EXTENSION
pdx) {
ULONG intcsr;
// Read interrupt register, see if an interrupt is pending.
// If not, return FALSE immediately.
intcsr = pdx->MemoryStart[REG_CSR];
KeBugCheckEx(0x12345, intcsr, 0,0, 0); // <<<<<
if (!(intcsr & REG_CSR_INT)) return FALSE;
....
After the interrupt request is asserted by the device, computer hangs.
No "Blue screen" due to KeBugCheck!
-----

Any suggestions as where and how to seek for my interrupt
are greately appreciated.
Thanks a lot.

(I know for sure that DeviceOnInterrupt was successfully registered by
IoConnectInterrupt in the PnpDeviceStart routine.)

 >> Stay informed about: A problem with interrupt. Please help. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Interrupt handling problem in WinXP. - Hi, Folks. My PCI device generate IRQ and everything works while it is enumerated as "Bus2 Device 0 Function 0". If it is Bus 2 Device 0 Function 1 (or greater), my driver's IRQ handler never gain control, system swallows interrupt (and hang ...

PMI interrupt. - Hello! How can I connect my ISR to Performance Monitor Interrupt? Best Darek

any doc/website about soft interrupt? - i have hook 0xcc interrupt(int 3),but now how to get the interrupted thread's info,such as eip,thread id ,process id? use stack? any doc/website about this? os:xp ,sp1 ddk,

Bus driver interrupt resource. - I'm writing a driver for programming performance counters in PIV processor. I've wrote bus driver which enumerates devices and allocates resources and function driver which will do main job. I'm having a problem with allocating resources for functional...

problem - hello Igot a virus a while ago,uninstalled the operating system xp home edition, installed xp profesionnal. Some drivers such as usb, audio, video pci were not installed. O tried to do a wiard uptade an I something was installed. I have a" new....
   Windows XP Arc1 (Home) -> Device Driver All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows XP
 Windows Vista!
 Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]