Subject: Re: ath hal and reserved register r23
To: Martin Husemann <>
From: Andrew Doran <>
List: port-mips
Date: 07/24/2007 21:55:24
On Tue, Jul 24, 2007 at 10:38:02PM +0200, Martin Husemann wrote:
> On Tue, Jul 24, 2007 at 03:25:21PM -0500, David Young wrote:
> > Is it possible either to use some other register, or to make the use of
> > r23 for curlwp a compile-time option, so that development in -current
> > on MIPS boxen such as the Meraki Mini[1] can continue?

I just asked Sam Leffler if he could recompile it. I should have done that a
lot earlier, I'm sorry.
> Making it a kernel option should be easy.

The main bit of work there is adjusting the assembly code. A very short term
option is to edit the object file to use %gp in place of %s7. That's grotty
but I think it would work. I'll investigate both this week-end.