From owner-cvs-sys Mon May 26 07:38:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA21510 for cvs-sys-outgoing; Mon, 26 May 1997 07:38:54 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA21473; Mon, 26 May 1997 07:38:15 -0700 (PDT) From: Stefan Esser Received: (from se@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA28793; Mon, 26 May 1997 07:37:43 -0700 (PDT) Date: Mon, 26 May 1997 07:37:43 -0700 (PDT) Message-Id: <199705261437.HAA28793@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/sys interrupt.h src/sys/kern kern_intr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 1997/05/26 07:37:43 PDT Added files: sys/sys interrupt.h sys/kern kern_intr.c Log: Add support for shared interrupts to the kernel. This code is meant be (eventually) architecture independent. It provides an emulation of the ISA interrupt registration function register_intr(), but that function does no longer manipulated the interrupt controller and interrupt descriptor table, but calls the architecture dependent function setup_icu() for that purpose. After theISA/EISA bus code has been modified to directly call the new interrupt registartion functions (intr_create() and intr_connect()), the emulation of register_intr() should be dropped. The C level interrupt handler function should take a (void*) argument, and the function pointer type (inthand2_t) should defined in some other place than isa_device.h. This commit is a pre-requisite for the removal of the PCI specific shared interrupt code. Reviewed by: dfr,bde