From owner-cvs-src@FreeBSD.ORG Wed Nov 19 07:38:59 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B3FA16A4CE; Wed, 19 Nov 2003 07:38:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F197243FB1; Wed, 19 Nov 2003 07:38:58 -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 hAJFcwXJ058645; Wed, 19 Nov 2003 07:38:58 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAJFcvsH058644; Wed, 19 Nov 2003 07:38:57 -0800 (PST) (envelope-from jhb) Message-Id: <200311191538.hAJFcvsH058644@repoman.freebsd.org> From: John Baldwin Date: Wed, 19 Nov 2003 07:38:57 -0800 (PST) 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 15:38:59 -0000 jhb 2003/11/19 07:38:56 PST FreeBSD src repository Modified files: sys/i386/isa atpic.c Log: - Add counts to the ATPIC interrupt sources and point the ATPIC interrupt source count pointers at them so that intr_execute_handlers() won't choke when it tries to handle an unregisterd ATPIC interrupt source. - Install the low-level ATPIC interrupt handlers when we first program the ATPIC in atpic_startup() rather than at SI_SUB_INTR. This is only necessary to work around buggy code that enables interrupts too early in the boot process (namely, the vm86 code). Approved by: re (rwatson) Revision Changes Path 1.6 +17 -6 src/sys/i386/isa/atpic.c