To: Ben Harris <bjh21@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-arm32
Date: 02/25/2001 09:13:49
On Sun, Feb 25, 2001 at 04:26:34PM +0000, Ben Harris wrote:
> Ugh. This is a bit awkward. At the moment, we keep the user registers on
> the kernel stack, and have a (probably constant) pointer to them from the
> pcb (or proc structure on arm32). Moving them to the pcb will entail
> either changing the exception entry code to be able to find the pcb or
> copying the registers fram the stack to the pcb when necessary (which is
> probably immediately after the exception if we want them to be in place
> for a potential panic).
Yah, I agree with Ben here -- e.g. Alpha and MIPS don't store all user
registers in the PCB -- only a few that are needed to get at the rest of
the user state on the kernel stack.
--
-- Jason R. Thorpe <thorpej@zembu.com>