From owner-cvs-src@FreeBSD.ORG Wed Jun 7 21:00:46 2006 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 CB47E17125B; Wed, 7 Jun 2006 19:10:23 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F09043D6D; Wed, 7 Jun 2006 19:10:21 +0000 (GMT) (envelope-from marius@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 k57J8RNE065594; Wed, 7 Jun 2006 19:08:27 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k57J8RrG065593; Wed, 7 Jun 2006 19:08:27 GMT (envelope-from marius) Message-Id: <200606071908.k57J8RrG065593@repoman.freebsd.org> From: Marius Strobl Date: Wed, 7 Jun 2006 19:08:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/sparc64/sparc64 machdep.c trap.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, 07 Jun 2006 21:00:47 -0000 marius 2006-06-07 19:08:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sparc64/sparc64 machdep.c trap.c Log: MFC: sys/sparc64/sparc64/machdep.c 1.129 (partial), sys/sparc64/sparc64/trap.c 1.80 (partial) - s,tramoline,trampoline, in a comment. - Use FBSDID in trap.c - Make the global trap_sig[] static as it's not used outside of trap.c. - Sync cpu_thread_siginfo() and sendsig() with the other archs; for fast data access MMU miss and data access protection traps set ksi_addr to the SFAR reg which contains the faulting address and otherwise to the TPC reg. Generally the TCP reg contains the address of the instruction that caused the exception, except for fast instruction access traps (and some others; more refinement may be needed here) it also contains the faulting address. Previously, sendsig() always set si_addr to the SFAR reg which is wrong for most traps and cpu_thread_siginfo() didn't set it at all. - In sendsig() add support for FreeBSD old-style signals. Revision Changes Path 1.125.2.3 +25 -6 src/sys/sparc64/sparc64/machdep.c 1.74.2.1 +4 -2 src/sys/sparc64/sparc64/trap.c