From owner-freebsd-ppc@FreeBSD.ORG Sat Mar 31 02:15:46 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F027B16A400 for ; Sat, 31 Mar 2007 02:15:46 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fep04.xtra.co.nz (fep04.xtra.co.nz [210.54.141.242]) by mx1.freebsd.org (Postfix) with ESMTP id 8B76513C468 for ; Sat, 31 Mar 2007 02:15:46 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from serv.int.fubar.geek.nz ([125.237.120.204]) by fep04.xtra.co.nz with ESMTP id <20070331021430.NQLE25916.fep04.xtra.co.nz@serv.int.fubar.geek.nz> for ; Sat, 31 Mar 2007 14:14:30 +1200 Date: Sat, 31 Mar 2007 14:14:28 +1200 From: Andrew Turner To: freebsd-ppc@freebsd.org Message-ID: <20070331141428.5f7cb6b4@hermies.int.fubar.geek.nz> X-Mailer: Claws Mail 2.6.1 (GTK+ 2.10.11; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Exception in openfirmware calling X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 02:15:47 -0000 I'm getting a cpu exception on the mtmsr instruction on line 213 in ofw_machdep.c[1]. A copy of me single stepping through the code is available at [2]. I would appreciate any incite to what is going wrong here so I can fix it. Andrew [1] http://fxr.watson.org/fxr/source/powerpc/powerpc/ofw_machdep.c#L213 [2] http://fubar.geek.nz/files/efika_exception.txt