Roland McGrath [Fri, 9 Dec 1994 05:05:05 +0000 (05:05 +0000)]
Remove ".set noreorder" et al; GCC already emits them.
Fix register constraints in asms.
Set RTN in C, not asm.
Roland McGrath [Fri, 9 Dec 1994 03:42:31 +0000 (03:42 +0000)]
Remove ".set noreorder" et al; GCC already emits them.
Roland McGrath [Thu, 8 Dec 1994 19:45:02 +0000 (19:45 +0000)]
Rename variable `sp' to avoid conflict with #define in <mach/alpha/asm.h>.
Roland McGrath [Thu, 8 Dec 1994 19:43:43 +0000 (19:43 +0000)]
Remove unused variable.
Roland McGrath [Wed, 7 Dec 1994 20:02:38 +0000 (20:02 +0000)]
Initial revision
Roland McGrath [Mon, 5 Dec 1994 17:57:43 +0000 (17:57 +0000)]
Use ENV[0].__jmpbuf[0].
Roland McGrath [Mon, 5 Dec 1994 17:55:41 +0000 (17:55 +0000)]
Use ENV[0].__jmpbuf.
Roland McGrath [Sun, 4 Dec 1994 19:08:38 +0000 (19:08 +0000)]
Use `movel' for pushes and pops.
Roland McGrath [Sun, 4 Dec 1994 19:06:52 +0000 (19:06 +0000)]
(__sigsetjmp): Fix typo.
Roland McGrath [Sun, 4 Dec 1994 19:04:45 +0000 (19:04 +0000)]
Take arg of type __jmp_buf, not jmp_buf.
Roland McGrath [Sun, 4 Dec 1994 18:57:56 +0000 (18:57 +0000)]
(__longjmp): Make arg const.
Roland McGrath [Sun, 4 Dec 1994 18:56:14 +0000 (18:56 +0000)]
(__longjmp): Take arg of type __jmp_buf, not jmp_buf.
Roland McGrath [Sun, 4 Dec 1994 18:51:22 +0000 (18:51 +0000)]
Set members in ENV[0].__jmpbuf[0], not ENV[0].
Roland McGrath [Sun, 4 Dec 1994 18:48:04 +0000 (18:48 +0000)]
(__sigsetjmp): That's __jmpbuf, not __jmp_buf.
Roland McGrath [Sun, 4 Dec 1994 18:46:59 +0000 (18:46 +0000)]
Set members in ENV[0].__jmp_buf[0], not ENV[0].
Roland McGrath [Sun, 4 Dec 1994 18:14:36 +0000 (18:14 +0000)]
Initial revision
Roland McGrath [Sun, 4 Dec 1994 18:10:46 +0000 (18:10 +0000)]
Pass SP and FP as 3rd and 4th args, not 2nd and 3rd.
Roland McGrath [Sun, 4 Dec 1994 18:09:25 +0000 (18:09 +0000)]
Pass FP and SP as 3rd and 4th args, not 2nd and 3rd.
Roland McGrath [Sun, 4 Dec 1994 18:08:19 +0000 (18:08 +0000)]
Implement __sigsetjmp_aux instead of __setjmp_aux; call __sigjmp_save.
Roland McGrath [Sun, 4 Dec 1994 18:07:13 +0000 (18:07 +0000)]
Implement __sigsetjmp instead of __setjmp; call __sigsetjmp_aux instead of
__setjmp_aux.
Roland McGrath [Sun, 4 Dec 1994 18:00:48 +0000 (18:00 +0000)]
Comment fix.
Roland McGrath [Sun, 4 Dec 1994 18:00:25 +0000 (18:00 +0000)]
Implement __sigsetjmp_aux instead of __setjmp_aux; call __sigjmp_save.
Roland McGrath [Sun, 4 Dec 1994 17:53:34 +0000 (17:53 +0000)]
Implement __sigsetjmp instead of __setjmp; call __sigjmp_save.
Roland McGrath [Sat, 3 Dec 1994 14:00:08 +0000 (14:00 +0000)]
Set up frame for `rei' to restore on user stack, aligned to an 8-word
boundary and with a PS value that restores user's stack alignment.
Roland McGrath [Sat, 3 Dec 1994 13:57:03 +0000 (13:57 +0000)]
(sigcontext
): Fixed typo.
Roland McGrath [Sat, 3 Dec 1994 00:31:14 +0000 (00:31 +0000)]
Fix typo `.global' to `.globl'.
Roland McGrath [Tue, 22 Nov 1994 22:29:25 +0000 (22:29 +0000)]
(struct sigcontext): Use `__sigset_t' instead of `sigset_t' for `sc_mask'.
Roland McGrath [Thu, 17 Nov 1994 01:59:01 +0000 (01:59 +0000)]
[__motorola__]: Swap operands in cmp.l.
Roland McGrath [Tue, 15 Nov 1994 10:39:12 +0000 (10:39 +0000)]
Initial revision
Roland McGrath [Tue, 15 Nov 1994 07:01:18 +0000 (07:01 +0000)]
Initial revision
Roland McGrath [Tue, 15 Nov 1994 06:55:45 +0000 (06:55 +0000)]
(divrem rule): Make the output unwritable, use mv -f.
Roland McGrath [Tue, 15 Nov 1994 06:48:25 +0000 (06:48 +0000)]
entered into RCS
Roland McGrath [Thu, 10 Nov 1994 21:53:39 +0000 (21:53 +0000)]
(msync): Use __caddr_t instead of caddr_t in decl.
Roland McGrath [Thu, 10 Nov 1994 09:58:40 +0000 (09:58 +0000)]
entered into RCS
Roland McGrath [Thu, 10 Nov 1994 09:29:41 +0000 (09:29 +0000)]
Formerly ./mach/hurd/alpha/trampoline.c.~2~
Roland McGrath [Thu, 10 Nov 1994 04:41:19 +0000 (04:41 +0000)]
Initial revision
Roland McGrath [Thu, 10 Nov 1994 04:35:29 +0000 (04:35 +0000)]
entered into RCS
Roland McGrath [Wed, 9 Nov 1994 12:23:25 +0000 (12:23 +0000)]
Initial revision
Roland McGrath [Tue, 8 Nov 1994 23:34:47 +0000 (23:34 +0000)]
entered into RCS
Roland McGrath [Tue, 8 Nov 1994 23:32:22 +0000 (23:32 +0000)]
Initial revision
Roland McGrath [Tue, 8 Nov 1994 22:33:29 +0000 (22:33 +0000)]
entered into RCS
Roland McGrath [Tue, 1 Nov 1994 08:32:25 +0000 (08:32 +0000)]
entered into RCS
Roland McGrath [Tue, 1 Nov 1994 06:28:24 +0000 (06:28 +0000)]
entered into RCS
Roland McGrath [Mon, 31 Oct 1994 12:14:14 +0000 (12:14 +0000)]
(TCSASOFT): Macro removed.
Roland McGrath [Thu, 27 Oct 1994 19:00:37 +0000 (19:00 +0000)]
Fixed typo.
Roland McGrath [Fri, 30 Sep 1994 21:51:53 +0000 (21:51 +0000)]
entered into RCS
Roland McGrath [Fri, 30 Sep 1994 21:50:55 +0000 (21:50 +0000)]
Initial revision
Brendan Kehoe [Thu, 29 Sep 1994 21:21:19 +0000 (21:21 +0000)]
* 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.
Roland McGrath [Fri, 16 Sep 1994 02:14:48 +0000 (02:14 +0000)]
Initial revision
Roland McGrath [Fri, 16 Sep 1994 02:14:38 +0000 (02:14 +0000)]
entered into RCS
Roland McGrath [Tue, 13 Sep 1994 19:28:54 +0000 (19:28 +0000)]
entered into RCS
Roland McGrath [Tue, 13 Sep 1994 17:09:48 +0000 (17:09 +0000)]
entered into RCS
Roland McGrath [Sat, 3 Sep 1994 02:31:57 +0000 (02:31 +0000)]
Restore FPU state. Code from kkojima.
Roland McGrath [Fri, 2 Sep 1994 03:21:20 +0000 (03:21 +0000)]
(routines, elided-routines): Set these both to $(bare-routines).
(distribute): Don't set this.
Roland McGrath [Tue, 30 Aug 1994 12:38:38 +0000 (12:38 +0000)]
Initial revision
Roland McGrath [Sun, 28 Aug 1994 08:50:46 +0000 (08:50 +0000)]
Formerly ./standalone/m68k/m68020/mvme136/_exit.c.~2~
Roland McGrath [Sun, 28 Aug 1994 08:13:00 +0000 (08:13 +0000)]
entered into RCS
Roland McGrath [Fri, 26 Aug 1994 06:15:51 +0000 (06:15 +0000)]
entered into RCS
Roland McGrath [Fri, 26 Aug 1994 06:15:17 +0000 (06:15 +0000)]
Initial revision
Roland McGrath [Thu, 25 Aug 1994 18:07:56 +0000 (18:07 +0000)]
entered into RCS
Roland McGrath [Thu, 25 Aug 1994 17:35:58 +0000 (17:35 +0000)]
Initial revision
Roland McGrath [Thu, 25 Aug 1994 14:44:14 +0000 (14:44 +0000)]
Initial revision
Roland McGrath [Thu, 25 Aug 1994 13:55:25 +0000 (13:55 +0000)]
entered into RCS
Roland McGrath [Thu, 25 Aug 1994 00:09:09 +0000 (00:09 +0000)]
Initial revision
Roland McGrath [Wed, 24 Aug 1994 22:57:24 +0000 (22:57 +0000)]
entered into RCS
Roland McGrath [Wed, 24 Aug 1994 22:55:10 +0000 (22:55 +0000)]
Initial revision
Roland McGrath [Wed, 24 Aug 1994 13:54:00 +0000 (13:54 +0000)]
entered into RCS
Roland McGrath [Mon, 22 Aug 1994 19:00:39 +0000 (19:00 +0000)]
(SYSRETURN): New macro.
Roland McGrath [Mon, 22 Aug 1994 09:06:46 +0000 (09:06 +0000)]
(__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.
Roland McGrath [Mon, 22 Aug 1994 05:02:49 +0000 (05:02 +0000)]
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.
Roland McGrath [Tue, 16 Aug 1994 06:06:18 +0000 (06:06 +0000)]
Don't #include <mach/thread_status.h>.
Roland McGrath [Tue, 16 Aug 1994 06:04:07 +0000 (06:04 +0000)]
Add #include_next <thread_state.h> at end.
Roland McGrath [Tue, 16 Aug 1994 05:58:17 +0000 (05:58 +0000)]
(sc_mips_thread_state, sc_mips_exc_state, sc_mips_float_state): New macros,
marking members that correspond to thread_state.h structs.
Roland McGrath [Tue, 16 Aug 1994 00:52:22 +0000 (00:52 +0000)]
Replace uses of HOST_CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS.
Roland McGrath [Tue, 16 Aug 1994 00:42:48 +0000 (00:42 +0000)]
Replace all uses of __const with __CONSTVALUE.
Roland McGrath [Tue, 16 Aug 1994 00:35:22 +0000 (00:35 +0000)]
(elided-routines): New variable (append to it).
(aux, routines): Don't set these.
(sysdep_routines): Append things here instead.
Roland McGrath [Thu, 11 Aug 1994 00:26:03 +0000 (00:26 +0000)]
(struct sigcontext): Renamed member `sc_err' to `sc_error'.
Roland McGrath [Mon, 8 Aug 1994 22:54:44 +0000 (22:54 +0000)]
(_hurd_exception2signal): Take new arg `int *error'; set it.
Roland McGrath [Mon, 8 Aug 1994 07:58:38 +0000 (07:58 +0000)]
(struct sigcontext): Added member `sc_err'.
Roland McGrath [Mon, 8 Aug 1994 07:39:58 +0000 (07:39 +0000)]
(struct machine_thread_all_state): New type.
Roland McGrath [Wed, 3 Aug 1994 16:32:47 +0000 (16:32 +0000)]
Rearranged structure so machine-dependent portion is laid out like `struct
mips_thread_state; struct mips_exc_state; struct mips_float_state;'.
Roland McGrath [Wed, 3 Aug 1994 06:45:59 +0000 (06:45 +0000)]
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.
Roland McGrath [Wed, 3 Aug 1994 01:38:43 +0000 (01:38 +0000)]
(_hurd_setup_sighandler): Copy TS to SCP all at once.
Roland McGrath [Wed, 3 Aug 1994 01:36:31 +0000 (01:36 +0000)]
(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.
Roland McGrath [Wed, 3 Aug 1994 01:03:35 +0000 (01:03 +0000)]
[__sgi__]: Use `fp' instead of `$fp'.
Roland McGrath [Tue, 2 Aug 1994 00:15:34 +0000 (00:15 +0000)]
(_hurd_setup_sighandler): Save mdlo and mdhi.
Roland McGrath [Tue, 2 Aug 1994 00:12:17 +0000 (00:12 +0000)]
(struct sigcontext): Add members sc_mdlo, sc_mdhi.
Roland McGrath [Sun, 31 Jul 1994 20:01:52 +0000 (20:01 +0000)]
Incorporated from BSD 4.4-Lite.
Roland McGrath [Fri, 29 Jul 1994 16:39:58 +0000 (16:39 +0000)]
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.
Roland McGrath [Fri, 29 Jul 1994 15:53:52 +0000 (15:53 +0000)]
Use `unsigned int' consistently for port names.
Roland McGrath [Fri, 29 Jul 1994 15:46:10 +0000 (15:46 +0000)]
Don't set up args on the stack; pass them in registers.
Roland McGrath [Fri, 22 Jul 1994 23:54:43 +0000 (23:54 +0000)]
(PSEUDO): Remove ret at end.
Roland McGrath [Sat, 16 Jul 1994 21:16:53 +0000 (21:16 +0000)]
entered into RCS
Roland McGrath [Sat, 16 Jul 1994 21:16:31 +0000 (21:16 +0000)]
Initial revision
Roland McGrath [Sat, 16 Jul 1994 04:43:42 +0000 (04:43 +0000)]
entered into RCS
Brendan Kehoe [Thu, 14 Jul 1994 22:21:57 +0000 (22:21 +0000)]
entered into RCS
Brendan Kehoe [Thu, 14 Jul 1994 22:13:18 +0000 (22:13 +0000)]
Initial revision
Brendan Kehoe [Thu, 14 Jul 1994 19:43:12 +0000 (19:43 +0000)]
entered into RCS
Brendan Kehoe [Mon, 11 Jul 1994 21:49:56 +0000 (21:49 +0000)]
entered into RCS
Roland McGrath [Sat, 9 Jul 1994 07:24:37 +0000 (07:24 +0000)]
entered into RCS