From owner-cvs-all@FreeBSD.ORG Thu Sep 4 20:53:08 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB8AC1065765; Thu, 4 Sep 2008 20:53:08 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D840E8FC16; Thu, 4 Sep 2008 20:53:08 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m84Kr80s046572; Thu, 4 Sep 2008 20:53:08 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m84Kr8dl046568; Thu, 4 Sep 2008 20:53:08 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200809042053.m84Kr8dl046568@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Thu, 4 Sep 2008 20:52:54 +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/sparc64/include trap.h src/sys/sparc64/sparc64 machdep.c trap.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 20:53:09 -0000 marius 2008-09-04 20:52:54 UTC FreeBSD src repository Modified files: sys/sparc64/include trap.h sys/sparc64/sparc64 machdep.c trap.c Log: SVN rev 182773 on 2008-09-04 20:52:54Z by marius Use the PROM provided SUNW,set-trap-table to take over the trap table. This is required in order to set obp-control-relinquished within the PROM, allowing to safely read the OFW translations node. Without this, f.e. a `ofwdump -ap` triggers a fatal reset error or worse things on machines based on USIII and beyond. In theory this should allow to remove touching %tba in cpu_setregs(), in practice we seem to currently face a chicken and egg problem when doing so however. Revision Changes Path 1.13 +1 -0 src/sys/sparc64/include/trap.h 1.147 +10 -0 src/sys/sparc64/sparc64/machdep.c 1.94 +24 -0 src/sys/sparc64/sparc64/trap.c