From owner-cvs-src@FreeBSD.ORG Mon May 12 11:33:20 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 AD99237B401; Mon, 12 May 2003 11:33:20 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C94A43FD7; Mon, 12 May 2003 11:33:20 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4CIXJ0U017194; Mon, 12 May 2003 11:33:19 -0700 (PDT) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4CIXJkc017193; Mon, 12 May 2003 11:33:19 -0700 (PDT) Message-Id: <200305121833.h4CIXJkc017193@repoman.freebsd.org> From: Peter Wemm Date: Mon, 12 May 2003 11:33:19 -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/amd64/amd64 exception.S genassym.c machdep.c trap.c src/sys/amd64/include frame.h ucontext.h 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: Mon, 12 May 2003 18:33:21 -0000 peter 2003/05/12 11:33:19 PDT FreeBSD src repository Modified files: sys/amd64/amd64 exception.S genassym.c machdep.c trap.c sys/amd64/include frame.h ucontext.h Log: For the page fault handler, save %cr2 in the outer trap handler so that we do not have to run so long with interrupts disabled. This involved creating tf_addr in the trapframe. Reorganize the trap stubs so that they consistently reserve the stack space and initialize any missing bits. Approved by: re (amd64 stuff) Revision Changes Path 1.109 +63 -32 src/sys/amd64/amd64/exception.S 1.144 +1 -0 src/sys/amd64/amd64/genassym.c 1.574 +2 -2 src/sys/amd64/amd64/machdep.c 1.256 +6 -18 src/sys/amd64/amd64/trap.c 1.24 +3 -0 src/sys/amd64/include/frame.h 1.13 +1 -0 src/sys/amd64/include/ucontext.h