*BSD News Article 14464


Return to BSD News archive

From: reink@hpuamsa.neth.hp.com (Reinier Kleipool)
Date: Tue, 13 Apr 1993 16:49:19 GMT
Subject: Q:i] How get intr handlers called?
Message-ID: <52570011@hpuamsa.neth.hp.com>
Organization: HP-Sales Office-The Netherlands
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!sdd.hp.com!apollo.hp.com!cupnews0.cup.hp.com!hpscit.sc.hp.com!hplextra!hpcc05!hpbbn!hpuamsa!reink
Newsgroups: comp.os.386bsd.questions
Lines: 32

Hello to all,

  A question on interrupts. How does an interrupt handler gets called
when the interrupt arrives.

  As far as I unsterstand so far is the HW IRQ number set with the
config program. If for instance a controller is put as:

controller   wdc0  at isa? port "IO_WD1" bio irq 14 vector wdintr

in my config file then this adds a controller that uses irq 14 and 
add this IRQ number to the bio mask. It also installs the handler 
wdintr. But I cant find anywere in ioconf.c or any other file* a 
reference on HOW wdintr is installed as the handler....

* using grep wdintr *.c *.h

Hope someone knows the aswer to this.....

Reinier Kleipool.



  /\
-(  )-/##---------------------------------------------------------------------
  }{/   ##    One has to look out  -- Overschie ------------------------------
.====.        for engineers- they  -- Reinier Kleipool  ----------------------
| [] |   begin with sewing machi-  -- Mail -----------------------------------
|    |   nes and  end up with the  -- X400: C=nl A=400net P=hp O=hp S=Kleipool
|    |   atomic bomb.....          -- desk: Reinier Kleipool/ hpitcb/75     --
| [] |              Marcel Pagnol  -- unix: reink@hpuamsa.neth.hp.com       --
------------------------------------------------------------------------------