Article View: comp.os.os2.programmer
Article #2099Installing Interrupt Service Routines under OS/2 2.0
From: Malathi Ramdas
Date: Thu, 15 Oct 1992 18:33
Date: Thu, 15 Oct 1992 18:33
14 lines
1396 bytes
1396 bytes
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
Technical Details
Message-ID:
<1bkdi1INN7cq@eagle.natinst.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!tamsun.tamu.edu!cs.utexas.edu!natinst.com!natinst.com!not-for-mailShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!tamsun.tamu.edu!cs.utexas.edu!natinst.com!natinst.com!not-for-mail From: ramdas@natinst.com (Malathi Ramdas) Newsgroups: comp.os.os2.programmer Subject: Installing Interrupt Service Routines under OS/2 2.0 Date: 15 Oct 1992 13:33:37 -0500 Organization: National Instruments, Austin, TX Lines: 16 Distribution: world Message-ID: <1bkdi1INN7cq@eagle.natinst.com> NNTP-Posting-Host: eagle.natinst.com