After your ISR claimed the interrupt by returning TRUE from ISR, Kernel
won’t call the next ISR in the chain. If there’s other pending interrupt in
the ISR chain, the CPU will get interrupted again as soon as the HAL EOI
handler re-enable the interrupt. So devices won’t miss interrupts in this
case.
Calvin Guan, Software Developer xxxxx@nospam.ati.com
SW2D-Radeon NT Core Drivers
ATI Technologies Inc.
1 Commerce Valley Drive East
Markham, Ontario, Canada L3T 7X6
Tel: (905) 882-2600 Ext. 8654
Find a driver: http://www.ati.com/support/driver.html
-----Original Message-----
From: Stanislav Kraev [mailto:xxxxx@gtn.ru]
Sent: Monday, October 27, 1997 12:01 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] RE: Interrupt collision
Shared interrupt. That was the problem. And what about returning TRUE.
Can it be that 2 devices simultaneously raised IRQ? I mean should I
return FALSE even if my device has set IRQ so other devices could
process their own?
PS> As Mark indicated, make sure you mark it as shareable. No other work is
PS> needed to chain the ISR’s, just don’t return true if it is not your
PS> hardware interrupting.
PS> As to how to determine if it is your hardware that is interrupting?
PS> Well, check your hardware and see if it has interrupted.
PS> Pete
PS> Peter Scott
PS> xxxxx@KernelDrivers.com
PS> www.KernelDrivers.com
PS> -----Original Message-----
PS> From: xxxxx@lists.osr.com
PS> [mailto:xxxxx@lists.osr.com] On Behalf Of Stanislav Kraev
PS> Sent: Monday, October 27, 1997 9:04 AM
PS> To: Windows System Software Devs Interest List
PS> Subject: [ntdev] RE: Interrupt collision
PS> I get it. Thanks. But how could I know that that’s my IRQ, not other
PS> (video card for example)?
PS> Another question. Must my driver do some special code for creating IRQ
PS> chain?
PS> -MB
PS>> Shared interrupts, it’s a feature. The registered ISR’s for a given
PS> IRQ
PS>> will be chained and called until one of them returns TRUE which
PS>> indicates the ISR handled the interrupt.
PS>> Yes, you should use the resources the PNP gave you.
PS>> Pete
PS>> Peter Scott
PS>> xxxxx@KernelDrivers.com
PS>> www.KernelDrivers.com
PS>> -----Original Message-----
PS>> From: xxxxx@lists.osr.com
PS>> [mailto:xxxxx@lists.osr.com] On Behalf Of Stanislav
PS> Kraev
PS>> Sent: Monday, October 27, 1997 8:39 AM
PS>> To: Windows System Software Devs Interest List
PS>> Subject: [ntdev] Interrupt collision
PS>> Could anybody explain me following thing. I write driver for some
PS> PnP
PS>> hardware. PnP drvier. PnP Manager provides my driver with resources
PS>> which device need to work: I/O range, IRQ. But IRQ the same as my
PS>> video card occupies. And when I try to connect to IRQ my video card
PS>> fails so system crashes.
PS>> Should I use resources that PnP gave me. Or simply call previous
PS>> (video card) interrupt routine? And how can I do that?
PS>> A matter of course I can’t plug my device into other PCI slot.
PS>> Thanks.
PS>> -MB
PS>> —
PS>> Questions? First check the Kernel Driver FAQ at
PS>> http://www.osronline.com/article.cfm?id=256
PS>> You are currently subscribed to ntdev as: xxxxx@kerneldrivers.com
PS>> To unsubscribe send a blank email to xxxxx@lists.osr.com
PS>> —
PS>> Questions? First check the Kernel Driver FAQ at
PS> http://www.osronline.com/article.cfm?id=256
PS>> You are currently subscribed to ntdev as: xxxxx@gtn.ru
PS>> To unsubscribe send a blank email to xxxxx@lists.osr.com
PS> —
PS> Questions? First check the Kernel Driver FAQ at
PS> http://www.osronline.com/article.cfm?id=256
PS> You are currently subscribed to ntdev as: xxxxx@kerneldrivers.com
PS> To unsubscribe send a blank email to xxxxx@lists.osr.com
PS> —
PS> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
PS> You are currently subscribed to ntdev as: xxxxx@gtn.ru
PS> To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com