*BSD News Article 14465


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!newsserver.jvnc.net!gmd.de!mururoa!veit
From: veit@mururoa.gmd.de (Holger Veit)
Subject: Re: Q:i] How get intr handlers called?
Message-ID: <1993Apr14.125609.12421@gmd.de>
Sender: veit@mururoa (Holger Veit)
Nntp-Posting-Host: mururoa.gmd.de
Organization: GMD, Sankt Augustin, Germany
References:  <52570011@hpuamsa.neth.hp.com>
Date: Wed, 14 Apr 1993 12:56:09 GMT
Lines: 46

In article <52570011@hpuamsa.neth.hp.com>, reink@hpuamsa.neth.hp.com (Reinier Kleipool) writes:
|> 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.

Have a look into /sys/compile/YOURCONFIG/vector.s :-)
This is created by config.

Holger

|> 
|> 
|>   /\
|> -(  )-/##---------------------------------------------------------------------
|>   }{/   ##    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       --
|> ------------------------------------------------------------------------------

-- 
         Dr. Holger Veit                   | INTERNET: Holger.Veit@gmd.de
|  |   / GMD-SET German National Research  | Phone: (+49) 2241 14 2448
|__|  /  Center for Computer Science       | Fax:   (+49) 2241 14 2342
|  | /   P.O. Box 13 16                    |    Three lines Signature space
|  |/    Schloss Birlinghoven              |    available for rent. Nearly
         DW-5205 St. Augustin, Germany     |    unused, good conditions