Subject: ath hal and reserved register r23
To: None <port-mips@netbsd.org>
From: David Young <dyoung@pobox.com>
List: port-mips
Date: 07/24/2007 15:25:21
Apparently the changes from the yamt-idlelwp branch reserve MIPS register
r23 for curlwp for a kernel size/(speed?) benefit.  The Atheros HAL,
which we do not have the liberty to recompile, uses r23 for its own
purposes, which clash with the kernel's.  Consequently, one cannot use
ath(4) on a MIPS box running -current.

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?

Dave

[1] Based on an Atheros MIPS SoC. :-)

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933 ext 24