From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 08:45:36 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9835416A4CE for ; Sun, 25 Jan 2004 08:45:36 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id C072843D45 for ; Sun, 25 Jan 2004 08:45:34 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])i0PGjTL02633; Sun, 25 Jan 2004 17:45:29 +0100 (MET) Date: Sun, 25 Jan 2004 17:45:29 +0100 (CET) From: Harti Brandt To: Ken Smith In-Reply-To: <20040125163017.GA20676@electra.cse.Buffalo.EDU> Message-ID: <20040125174359.C18713@beagle.fokus.fraunhofer.de> References: <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> <20040125155351.X18713@beagle.fokus.fraunhofer.de> <20040125163017.GA20676@electra.cse.Buffalo.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: David Cornejo cc: freebsd-sparc64@freebsd.org Subject: Re: fix for undefined symbol 'panic' X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 16:45:36 -0000 On Sun, 25 Jan 2004, Ken Smith wrote: KS>On Sun, Jan 25, 2004 at 03:55:32PM +0100, Harti Brandt wrote: KS> KS>> The fix is wrong, I think, because __panic now takes three arguments. KS>> I wrote phk a couple of days ago, but nothing happend so far. We could do KS>> the equivalent of __panic(str, NULL, 0), or try to get the filename and KS>> linenumber correct. But this is where my sparc asm foo stops. KS> KS>Thanks, I think you're right. KS> KS>My asm foo is rusty but I don't mind cleaning it up. I'll work on this KS>if nobody else wants to or has time or whatever. Shouldn't be too KS>hard to re-learn how to pass function parameters. But I don't want to KS>take away anyone else's fun if I'm stepping on toes. I'm new to this KS>area (sparc64 in general) in a variety of ways so I haven't noticed yet who KS>tends to do what. Go ahead. I think the arguments are passed in %o0, %o1 and %o2. I don't know in what order, however. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org