From owner-cvs-src@FreeBSD.ORG Mon Dec 5 22:39:10 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 0BF2D16A41F; Mon, 5 Dec 2005 22:39:10 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B53C743D49; Mon, 5 Dec 2005 22:39:09 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jB5Md95L064037; Mon, 5 Dec 2005 22:39:09 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB5Md9AW064036; Mon, 5 Dec 2005 22:39:09 GMT (envelope-from jhb) Message-Id: <200512052239.jB5Md9AW064036@repoman.freebsd.org> From: John Baldwin Date: Mon, 5 Dec 2005 22:39:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/i386 apic_vector.s db_trace.c intr_machdep.c local_apic.c src/sys/i386/include apicvar.h frame.h intr_machdep.h src/sys/i386/isa atpic.c icu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 05 Dec 2005 22:39:10 -0000 jhb 2005-12-05 22:39:09 UTC FreeBSD src repository Modified files: sys/i386/i386 apic_vector.s db_trace.c intr_machdep.c local_apic.c sys/i386/include apicvar.h frame.h intr_machdep.h sys/i386/isa atpic.c icu.h Log: Change the i386 code to pass the interrupt vector as a separate argument rather than embedding it in the intrframe as if_vec. This reduces diffs with amd64 somewhat. - Remove cf_vec from clockframe (it wasn't used anyway) and stop pushing dummy vector arguments for ipi_bitmap_handler() and lapic_handle_timer() since clockframe == trapframe now. - Fix ddb to handle stack traces across interrupt entry points that just have a trapframe on their stack and not a trapframe + vector. - Change intr_execute_handlers() to take a trapframe rather than an intrframe pointer. - Change lapic_handle_intr() and atpic_handle_intr() to take a vector and trapframe rather than an intrframe. - GC struct intrframe now that nothing uses it anymore. - GC CLOCK_TO_TRAPFRAME() and INTR_TO_TRAPFRAME(). Reviewed by: bde Requested by: peter Revision Changes Path 1.110 +0 -4 src/sys/i386/i386/apic_vector.s 1.69 +9 -0 src/sys/i386/i386/db_trace.c 1.17 +4 -4 src/sys/i386/i386/intr_machdep.c 1.22 +3 -3 src/sys/i386/i386/local_apic.c 1.15 +1 -1 src/sys/i386/include/apicvar.h 1.26 +1 -31 src/sys/i386/include/frame.h 1.10 +2 -2 src/sys/i386/include/intr_machdep.h 1.23 +6 -7 src/sys/i386/isa/atpic.c 1.34 +1 -1 src/sys/i386/isa/icu.h