From owner-cvs-all@FreeBSD.ORG Mon Nov 3 13:34:46 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 816F516A4CE; Mon, 3 Nov 2003 13:34:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1439F43FF7; Mon, 3 Nov 2003 13:34:46 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA3LYjXJ092149; Mon, 3 Nov 2003 13:34:45 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA3LYjpm092148; Mon, 3 Nov 2003 13:34:45 -0800 (PST) (envelope-from jhb) Message-Id: <200311032134.hA3LYjpm092148@repoman.freebsd.org> From: John Baldwin To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/isa atpic.c atpic_vector.s icu.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Mon, 03 Nov 2003 21:34:46 -0000 X-Original-Date: Mon, 3 Nov 2003 13:34:45 -0800 (PST) X-List-Received-Date: Mon, 03 Nov 2003 21:34:46 -0000 jhb 2003/11/03 13:34:45 PST FreeBSD src repository Modified files: sys/i386/isa atpic_vector.s icu.h Added files: sys/i386/isa atpic.c Log: Add the new atpic(4) driver for the 8259A master and slave PICs. By default we provide 16 interrupt sources for IRQs 0 through 15. However, if the I/O APIC driver has already registered sources for any of those IRQs then we will silently fail to register our own source for that IRQ. Note that i386/isa/icu.h is now specific to the 8259A and no longer contains any info relevant to APICs. Also note that fast interrupts no longer use a separate entry point. Instead, both fast and threaded interrupts share the same entry point which merely looks up the appropriate source and passes control to intr_execute_handlers(). Revision Changes Path 1.1 +415 -0 src/sys/i386/isa/atpic.c (new) 1.38 +77 -178 src/sys/i386/isa/atpic_vector.s 1.28 +6 -47 src/sys/i386/isa/icu.h