Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 17:45:29 +0100 (CET)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        Ken Smith <kensmith@cse.Buffalo.EDU>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: fix for undefined symbol 'panic'
Message-ID:  <20040125174359.C18713@beagle.fokus.fraunhofer.de>
In-Reply-To: <20040125163017.GA20676@electra.cse.Buffalo.EDU>
References:  <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> <20040125155351.X18713@beagle.fokus.fraunhofer.de> <20040125163017.GA20676@electra.cse.Buffalo.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040125174359.C18713>