Commit Graph

436 Commits

Author SHA1 Message Date
Roland McGrath
8f476a5327 (TCSASOFT): Macro removed. 1994-10-31 12:14:14 +00:00
Roland McGrath
5302ac2b99 Fixed typo. 1994-10-27 19:00:37 +00:00
Roland McGrath
735888584d entered into RCS 1994-09-30 21:51:53 +00:00
Roland McGrath
2a5c38e637 Initial revision 1994-09-30 21:50:55 +00:00
Brendan Kehoe
152f509798 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (ENTRY): Use
poundfnc instead of \#function, to satisfy gcc-2.6.0 and higher.
        (cat, poundfnc): Define macros to pull it off.
1994-09-29 21:21:19 +00:00
Roland McGrath
8df6e75faf Initial revision 1994-09-16 02:14:48 +00:00
Roland McGrath
5c84ce029b entered into RCS 1994-09-16 02:14:38 +00:00
Roland McGrath
de20f4e300 entered into RCS 1994-09-13 19:28:54 +00:00
Roland McGrath
09dbb2c168 entered into RCS 1994-09-13 17:09:48 +00:00
Roland McGrath
7704bac4de Restore FPU state. Code from kkojima. 1994-09-03 02:31:57 +00:00
Roland McGrath
9ebc812a40 (routines, elided-routines): Set these both to $(bare-routines).
(distribute): Don't set this.
1994-09-02 03:21:20 +00:00
Roland McGrath
3635a08757 Initial revision 1994-08-30 12:38:38 +00:00
Roland McGrath
ece89a1215 Formerly ./standalone/m68k/m68020/mvme136/_exit.c.~2~ 1994-08-28 08:50:46 +00:00
Roland McGrath
137575e677 entered into RCS 1994-08-28 08:13:00 +00:00
Roland McGrath
f45ec7f2e2 entered into RCS 1994-08-26 06:15:51 +00:00
Roland McGrath
11ab92947e Initial revision 1994-08-26 06:15:17 +00:00
Roland McGrath
a1106e3b5e entered into RCS 1994-08-25 18:07:56 +00:00
Roland McGrath
61e2ba14eb Initial revision 1994-08-25 17:35:58 +00:00
Roland McGrath
cee6cb4fc2 Initial revision 1994-08-25 14:44:14 +00:00
Roland McGrath
bd1a0b2259 entered into RCS 1994-08-25 13:55:25 +00:00
Roland McGrath
55bb85f22c Initial revision 1994-08-25 00:09:09 +00:00
Roland McGrath
7b86171d64 entered into RCS 1994-08-24 22:57:24 +00:00
Roland McGrath
56a805307f Initial revision 1994-08-24 22:55:10 +00:00
Roland McGrath
eed38fbd8d entered into RCS 1994-08-24 13:54:00 +00:00
Roland McGrath
1e5c57652a (SYSRETURN): New macro. 1994-08-22 19:00:39 +00:00
Roland McGrath
92ae11d456 (__sigreturn): Arg is not const.
After restoring SCP->sc_mask, check for pending signals (newly unblocked);
if any, set SS->context to SCP, clear SS->intr_port, and send sig_post
to the signal thread to deliver the pending signals.
Don't write $1 value into the user stack.  Instead, write it into the word
just past SCP->sc_pc; then point $1 at SCP->sc_pc and use `op_sigreturn'
pseudo-instruction to restore the PC and $1 from that.
1994-08-22 09:06:46 +00:00
Roland McGrath
62833ce689 Include "thread_state.h" instead of <mach/thread_status.h>.
(struct mach_msg_trap_args): New type.
(trampoline): Function removed.
(_hurd_setup_sighandler): Take struct hurd_sigstate * arg instead of FLAGS
and SIGALTSTACK args; take new flag arg RPC_WAIT; use struct
machine_thread_all_state * for STATE arg.
New declared labels `trampoline', `rpc_wait_trampoline' mark asm code at
end of function (after return).
Add another struct sigcontext * to STACKFRAME after the first one, for the
arg to __sigreturn.
If SS->context is set, fill registers in SCP from that instead of STATE,
and reset SS->INTR_PORT from it.
If RPC_WAIT is set, set up to use rpc_wait_trampoline and frob args to
mach_msg_trap syscall in progress so that it will retry the receive
operation (but not resend!).
{rpc_wait_trampoline, trampoline}: New trampoline code.
(_hurd_rcv_interrupted_p): New function.
1994-08-22 05:02:49 +00:00
Roland McGrath
817a880cc1 Don't #include <mach/thread_status.h>. 1994-08-16 06:06:18 +00:00
Roland McGrath
275f772878 Add #include_next <thread_state.h> at end. 1994-08-16 06:04:07 +00:00
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
a101c158c5 Replace uses of HOST_CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS. 1994-08-16 00:52:22 +00:00
Roland McGrath
2c6864f1bc Replace all uses of __const with __CONSTVALUE. 1994-08-16 00:42:48 +00:00
Roland McGrath
4a3fb4cb93 (elided-routines): New variable (append to it).
(aux, routines): Don't set these.
(sysdep_routines): Append things here instead.
1994-08-16 00:35:22 +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
c693c1caaf (struct machine_thread_all_state): New type. 1994-08-08 07:39:58 +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
5064f78e9d [__sgi__]: Use fp' instead of $fp'. 1994-08-03 01:03:35 +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
cad7e45a3b Incorporated from BSD 4.4-Lite. 1994-07-31 20:01:52 +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
5736111e49 (PSEUDO): Remove ret at end. 1994-07-22 23:54:43 +00:00
Roland McGrath
d3e17c7446 entered into RCS 1994-07-16 21:16:53 +00:00