From owner-cvs-src@FreeBSD.ORG Mon Dec 5 21:44:48 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 3C86F16A423; Mon, 5 Dec 2005 21:44:48 +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 0287143D5D; Mon, 5 Dec 2005 21:44:48 +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 jB5LiloW059881; Mon, 5 Dec 2005 21:44:47 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB5Lilop059880; Mon, 5 Dec 2005 21:44:47 GMT (envelope-from jhb) Message-Id: <200512052144.jB5Lilop059880@repoman.freebsd.org> From: John Baldwin Date: Mon, 5 Dec 2005 21:44:47 +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 exception.s src/sys/i386/include asmacros.h src/sys/i386/isa atpic_vector.s 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 21:44:48 -0000 jhb 2005-12-05 21:44:47 UTC FreeBSD src repository Modified files: sys/i386/i386 apic_vector.s exception.s sys/i386/include asmacros.h sys/i386/isa atpic_vector.s Log: - Move PUSH_FRAME and POP_FRAME into machine/asmacros.h. - Add a new SET_KERNEL_SREGS macro that sets up %ds and %es to point to kernel data and %fs to point to per-CPU data and use the new macro in several kernel entry points including trap and interrupt handlers. - Convert the IPI_STOP handler Xcpustop to push a standard trap frame rather than an application frame. - Make the TRAP() macro private to exception.s since it is only used there. - Move the PCPU_*() macros in asmacros.h out of the middle of the profiling macros. Reviewed by: bde Requested by: bde (4, 5) Revision Changes Path 1.108 +9 -67 src/sys/i386/i386/apic_vector.s 1.115 +5 -15 src/sys/i386/i386/exception.s 1.27 +38 -9 src/sys/i386/include/asmacros.h 1.48 +2 -11 src/sys/i386/isa/atpic_vector.s