🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3172

Sharing Interrupts on a PS/2

#3172
From: Marty Klos
Date: Fri, 31 May 1991 20:51
23 lines
1399 bytes
References: <1991May31.194019.3122@dialogic.com>

gerry@dialogic.com (Gerry Lachac) writes:
>                    If I have two drivers that request the same
> interrupt using the SetIRQ DevHlp, which ISR (interrupt service
> routine) is called first?

According to the book (see note *):
  "POSITION RULE An interrupt handler that shares an interrupt level
      must not depend on its position int the list of handlers for that
      interrupt level."

My interpretation is that the order is undefined.  Unfortunately,
this does not help you predict how long after an interrupt occurs
before a particular interrupt handler gets control.

* - page 2-20, IBM OS/2 Programming Tools and Information,
    Version 1.2, I/O Subsystems and Device Support,
    Volume 1, Device Drivers

Marty Klos                           | Disclaimer: The statements above
IBM, Boca Raton, FL                  | are my own and not necessarily
Internet: klos@bcrvmpc3.vnet.ibm.com | those of my employer.
Technical Details
Message-ID: <9105312050.AA16347@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bcrvmpc3.vnet.ibm.com!klos

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bcrvmpc3.vnet.ibm.com!klos
From: klos@bcrvmpc3.vnet.ibm.com (Marty Klos)
Newsgroups: comp.os.os2.programmer
Subject: Sharing Interrupts on a PS/2
Message-ID: <9105312050.AA16347@ucbvax.Berkeley.EDU>
Date: 31 May 91 20:51:37 GMT
Sender: rwh@ucbvax.BERKELEY.EDU
Lines: 23