Subject: Re: ath hal and reserved register r23
To: Paul Koning <pkoning@equallogic.com>
From: Andrew Doran <ad@netbsd.org>
List: port-mips
Date: 07/25/2007 10:37:00
On Tue, Jul 24, 2007 at 04:58:42PM -0400, Paul Koning wrote:

> r23 is s7, and that has been a "preserved across function calls"
> register in the standard MIPS ABI forever.

True but the Atheros HAL still cannot change it (even if it restores it) as
interrupt handlers can legitimately inspect the value of curlwp. They rely
on it to point to an lwp structure.

Andrew