Roland McGrath
cd582f3e94
(sc_mips_thread_state, sc_mips_exc_state, sc_mips_float_state): New macros,
...
marking members that correspond to thread_state.h structs.
1994-08-16 05:58:17 +00:00
Roland McGrath
2a1ec466ab
(struct sigcontext): Renamed member sc_err' to
sc_error'.
1994-08-11 00:26:03 +00:00
Roland McGrath
b87619900a
(_hurd_exception2signal): Take new arg `int *error'; set it.
1994-08-08 22:54:44 +00:00
Roland McGrath
bd2a5f499d
(struct sigcontext): Added member `sc_err'.
1994-08-08 07:58:38 +00:00
Roland McGrath
d85eb528c4
Rearranged structure so machine-dependent portion is laid out like `struct
...
mips_thread_state; struct mips_exc_state; struct mips_float_state;'.
1994-08-03 16:32:47 +00:00
Roland McGrath
b8f04323dc
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.
1994-08-03 06:45:59 +00:00
Roland McGrath
8d2f85c668
(_hurd_setup_sighandler): Copy TS to SCP all at once.
1994-08-03 01:38:43 +00:00
Roland McGrath
b6cc520764
(struct sigcontext): sc_gpr has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi
...
are arranged in that order to mimic struct mips_thread_state.
1994-08-03 01:36:31 +00:00
Roland McGrath
c1eb1d76e2
(_hurd_setup_sighandler): Save mdlo and mdhi.
1994-08-02 00:15:34 +00:00
Roland McGrath
e0ec2e47de
(struct sigcontext): Add members sc_mdlo, sc_mdhi.
1994-08-02 00:12:17 +00:00
Roland McGrath
6adee8d53b
Rename variable AT (which is the register's name) to SCPREG.
...
Fix some SCP references in register loads to use SCPREG instead.
Load SCPREG->sc_pc into $24 and jump to it, restoring $at in the delay slot.
This still leaves $24 clobbered.
1994-07-29 16:39:58 +00:00
Roland McGrath
3844669a62
Use `unsigned int' consistently for port names.
1994-07-29 15:53:52 +00:00
Roland McGrath
840c5e79e3
Don't set up args on the stack; pass them in registers.
1994-07-29 15:46:10 +00:00
Roland McGrath
76657427f5
entered into RCS
1994-07-09 07:24:37 +00:00
Roland McGrath
c4a19f6a24
Initial revision
1994-07-09 07:12:44 +00:00