sgi: fix botched conversion to stacks below Proc.

This commit is contained in:
cinap_lenrek 2024-01-01 02:35:13 +00:00
parent a0c7560782
commit f0ac2d0176

View file

@ -442,6 +442,7 @@ waskernel:
wasuser: /* get kernel stack for this user process */ wasuser: /* get kernel stack for this user process */
GETMACH (SP) GETMACH (SP)
MOVW 8(SP), SP /* m->proc */ MOVW 8(SP), SP /* m->proc */
SUBU $(UREGSIZE), SP
dosave: dosave:
MOVW R31, 0x28(SP) MOVW R31, 0x28(SP)