From owner-cvs-src@FreeBSD.ORG Wed Nov 29 07:09:33 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E30E16A5FA; Wed, 29 Nov 2006 07:09:33 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id C99F343CB6; Wed, 29 Nov 2006 07:09:22 +0000 (GMT) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAT5IJ7x000857; Wed, 29 Nov 2006 05:18:19 GMT (envelope-from kmacy@repoman.freebsd.org) Received: (from kmacy@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAT5IJud000856; Wed, 29 Nov 2006 05:18:19 GMT (envelope-from kmacy) Message-Id: <200611290518.kAT5IJud000856@repoman.freebsd.org> From: Kip Macy Date: Wed, 29 Nov 2006 05:18:19 +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/sun4v/sun4v exception.S src/sys/sun4v/include pcb.h src/sys/sparc64/sparc64 genassym.c 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: Wed, 29 Nov 2006 07:09:33 -0000 kmacy 2006-11-29 05:18:19 UTC FreeBSD src repository Modified files: sys/sun4v/sun4v exception.S sys/sun4v/include pcb.h sys/sparc64/sparc64 genassym.c Log: - Explicitly name the fields in pcb that we use to store trap state for later retrieval, rather than using pad - save the fault address in sfar for use by the alignment fixup handler - mask off the trap number, so the context id doesn't confuse the UT_MAX comparison This change fixes alignment fixup handling which is needed for traceroute to work in spite of its copious unaligned accesses Revision Changes Path 1.66 +5 -0 src/sys/sparc64/sparc64/genassym.c 1.2 +6 -1 src/sys/sun4v/include/pcb.h 1.9 +18 -14 src/sys/sun4v/sun4v/exception.S