Compare *reply_port to MACH_PORT_NULL, not implicit zero.
authorRoland McGrath <roland@gnu.org>
Wed, 3 Aug 1994 06:45:59 +0000 (06:45 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 3 Aug 1994 06:45:59 +0000 (06:45 +0000)
commitb8f04323dc64d1221e5fb3f1162bd6a5aea81912
tree3e2f59995421ab551a4d18566bbe84d7f979f598
parent8d2f85c668a30bafd78d622747a4b9db7c7675cd
Compare *reply_port to MACH_PORT_NULL, not implicit zero.
(restore_gpr): Use N-1 as subscript into sc_gpr (sc_gpr[0] => $1).
Before general regs, restore from sc_mdlo and sc_mdhi.
Don't treat sp, fp specially; use restore_gpr for them too.
For final return, store user $1 value beyond top of user stack ahead of
time; Then use $1 to hold the user PC, and restore it from the stack in the
delay slot.
sysdeps/mach/hurd/mips/sigreturn.c