Re: sun4v trap table

Sad Clouds <[email protected]> Fri, 10 Oct 2025 21:33:34 +0100
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Fri, 10 Oct 2025 16:13:01 +0000 (UTC)
Eduardo Horvath <[email protected]> wrote:

> What this comes down to are two things:
> 
> Is the stack frame 32-bit or 64-bit or do you need to figure that out in 
> the trap handler from the stack pointer?
> 
> Does the stack frame need to be saved to the user address space or kernel 
> address space?
> 
> The fist is determined by the macro, the second by the ASI.

OK thanks for the detailed explanation, it makes a lot more sense now to
me.