From owner-cvs-sys Mon May 26 07:43:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA21728 for cvs-sys-outgoing; Mon, 26 May 1997 07:43:12 -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 HAA21690; Mon, 26 May 1997 07:42:56 -0700 (PDT) From: Stefan Esser Received: (from se@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA28875; Mon, 26 May 1997 07:42:25 -0700 (PDT) Date: Mon, 26 May 1997 07:42:25 -0700 (PDT) Message-Id: <199705261442.HAA28875@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa isa.c isa_device.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 1997/05/26 07:42:25 PDT Modified files: sys/i386/isa isa.c isa_device.h 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 the ISA/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 Revision Changes Path 1.85 +203 -53 src/sys/i386/isa/isa.c 1.40 +6 -5 src/sys/i386/isa/isa_device.h