cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/21/14:11:05

From: "Martin Czamai" <Martin_Czamai AT peak-service DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Programming Hardware Interrupts
Date: Thu, 21 Oct 1999 16:57:56 +0200
Organization: callisto germany.net GmbH
Lines: 27
Message-ID: <7una0o$t17$1@news.germany.net>
NNTP-Posting-Host: 151.189.115.98
X-Trace: news.germany.net 940518232 29735 151.189.115.98 (21 Oct 1999 15:03:52 GMT)
X-Complaints-To: news AT germany DOT net
NNTP-Posting-Date: 21 Oct 1999 15:03:52 GMT
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all again!

I'm trying to program a short test-programm for a PCI device. The PCI
controller gives me the correct data from the sub-device, which is an other,
external controller. The interrupt-flags are reseted correct on both
devices, but my interrupt serivce routine (ISR) works only once per booting
:-(((
My ISR consists the following parts:
* read interrupt control register of the PCI controller to determine the
reason for the interrupt
* read the data from the corresponding external controller (this is not a
PCI controller!)
* reset interrupt flags from external controller
* reset interrupt flags from PCI controller
* send EOI to system interrupt controller

In the main-part of the program I display the data I received (once) during
the ISR. A global dummy counter variable tells me how often the ISR was
called.
Who has any tip to get started?? Thank you for your help and

best regards

Martin Czamai
(Martin_Czamai AT peak-service DOT com)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019