From owner-cvs-src@FreeBSD.ORG Wed May 26 00:45:07 2004 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 D903816A4CE; Wed, 26 May 2004 00:45:07 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1B1243D46; Wed, 26 May 2004 00:45:07 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i4Q7hgND059232; Wed, 26 May 2004 00:43:42 -0700 (PDT) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4Q7hg3t059231; Wed, 26 May 2004 00:43:42 -0700 (PDT) (envelope-from bde) Message-Id: <200405260743.i4Q7hg3t059231@repoman.freebsd.org> From: Bruce Evans Date: Wed, 26 May 2004 00:43:42 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files.i386 src/sys/i386/i386 apic_vector.s exception.s src/sys/i386/isa atpic_vector.s 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, 26 May 2004 07:45:08 -0000 bde 2004/05/26 00:43:41 PDT FreeBSD src repository Modified files: sys/conf files.i386 sys/i386/i386 apic_vector.s exception.s sys/i386/isa atpic_vector.s Log: MFamd64: Fixed profiling of trap, syscall and interrupt handlers and some ordinary functions, essentially by backing out half of rev.1.106 of i386/exception.s. The handlers must be between certain labels for the purposes of profiling, and this was broken by scattering them in separately compiled .s files, especially for ordinary functions that ended up between the labels. Merge the files by #including them as before, except with different pathnames and better comments and organization. Changes to the scattered files are minimal -- just move the labels to the file that does the #includes. This also partly fixes profiling of IPIs -- all IPI handlers are now correctly classified as interrupt handlers, but many are still missing mcount calls. vm86bios.s is included as before, but it is now between the labels for interrupt handlers again, which seems to be wrong since half of it is for a non-interrupt handler. Revision Changes Path 1.493 +2 -2 src/sys/conf/files.i386 1.101 +0 -2 src/sys/i386/i386/apic_vector.s 1.111 +32 -4 src/sys/i386/i386/exception.s 1.47 +0 -2 src/sys/i386/isa/atpic_vector.s