re: NetBSD on Sun T5220

matthew green <[email protected]> Wed, 01 Oct 2025 17:15:24 +1000
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
Sad Clouds writes:
> On Tue, 30 Sep 2025 19:23:20 +0000 (UTC)
> Palle Lyckegaard <[email protected]> wrote:
>
> > I have additional debugging output that shows that  the register window is 
> > probably restored with incorrect values probably originating from a spill 
> > trap at trap level 1 that stores the incorrect register window.
>
> Do you know where the code which handles window registers is located?
> Is it somewhere in src/sys/arch/sparc64/sparc64/locore.s?

looks like pcbspill_other and spill_normal_to_user_stack in
locore.s, yeah.  there's more, but these are the low level
sun4v traps.


.mrg.