Article View: comp.os.os2.programmer
Article #2110Re: Installing Interrupt Service Routines under OS/2 2.0
From: Kenneth A. Kahn
Date: Fri, 16 Oct 1992 08:46
Date: Fri, 16 Oct 1992 08:46
19 lines
1715 bytes
1715 bytes
In <1bkdi1INN7cq@eagle.natinst.com> Malathi Ramdas writes: > I am writing a charater based instrument control device driver for OS/2 2.0. >I am using the C callable DevHlp functions using drvlib.lib file. I use the SetIRQ >to install the interrupt service routine. I have followed the procedures as is >stated in the book (Writing OS/2 device drivers in C) and the sample programs. But >For some reason the interrupt service routine is not getting installed. I know >that there is no interrupt conflict and when I check the bits in our >instrument control board's registers that should have caused the interrupt I >see that they are set. But for some reason the ISR never gets invoked (maybe >b'cos it never got installed). The SetIRQ function which I call during initia >lization time returns without any error indicating that the ISR was installed >successfully. Would any device driver expert know what could be missing in >my device driver that is causing this problem? > Thanks >Malti Ramdas > Most devices have an Enable/Disable bit/flag one of it's registers/ports. See if your device has such a bit/flag and enable it for interrupts.
Technical Details
Message-ID:
<19921016.015036.510@almaden.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COMReferences:
<1bkdi1INN7cq@eagle.natinst.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COM From: KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn) Message-ID: <19921016.015036.510@almaden.ibm.com> Date: Fri, 16 Oct 92 04:46:57 EDT Newsgroups: comp.os.os2.programmer Subject: Re: Installing Interrupt Service Routines under OS/2 2.0 Organization: Staff of IBM Fellow - IBM Personal/370 Disclaimer: This posting represents the poster's views, not those of IBM News-Software: UReply 3.0 X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn) References: <1bkdi1INN7cq@eagle.natinst.com> Lines: 19