Commit Graph

713 Commits

Author SHA1 Message Date
Roland McGrath
f7bee9b870 Rewritten. 1995-07-22 10:34:43 +00:00
Roland McGrath
80e6394278 Use JUMPTARGET(syscall_error) in jump insn. 1995-07-22 10:29:55 +00:00
Roland McGrath
48daea4ca6 New file. 1995-07-22 10:16:46 +00:00
Roland McGrath
6784c7e368 Rewritten, #include'ing unix/i386/sysdep.S for most of the code. 1995-07-22 08:42:28 +00:00
Roland McGrath
e56c8d6e9f Files moved from defunct sysdeps/unix/sysv/linux directory. 1995-07-22 07:43:56 +00:00
Brendan Kehoe
5b45242d5c undo previous change, not needed w/ configure fix 1995-06-14 00:15:10 +00:00
Brendan Kehoe
39bd749af3 * sysdeps/unix/bsd/osf/alpha/sysdep.h (HAVE_ASM_SET_DIRECTIVE):
Put in #undef.
1995-06-13 19:35:18 +00:00
Roland McGrath
87258b84a3 Fix "cvs commit" cmds in rules to not fail in the absence of CVS dirs. 1995-05-19 21:51:40 +00:00
Brendan Kehoe
fd1e71567e * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning
of the byte that was zero, so we return a valid number.
1995-04-17 22:02:01 +00:00
Brendan Kehoe
9e1fadd6c6 * /sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining
NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h.
1995-04-16 08:24:34 +00:00
Brendan Kehoe
be61b0710e * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive.
* sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise.
        * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise.
        * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise.
        * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise.
        * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise.
        * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise.
        * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise.
        * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise.
        * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise.
        * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise.
1995-04-15 04:07:56 +00:00
Brendan Kehoe
7c2ec3d419 ... changing to use /**/ instead of ! as comments
* sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
1995-04-15 02:38:17 +00:00
Brendan Kehoe
487e658eeb * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end.
* sysdeps/unix/mips/fork.S (fork): Likewise.
        * sysdeps/unix/mips/pipe.S (fork): Likewise.
        * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise.
        * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise.
        * sysdeps/unix/mips/wait.S (__handler): Likewise.
        * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
        * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
        * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise.
        * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise.
        * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise.
        * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise.
        * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise.
        * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise.
        * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise.
        * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise.  Use `$0'
        instead of `zero' for the li instruction.
1995-04-15 02:30:20 +00:00
Brendan Kehoe
275f4b54f4 * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
preprocessor comments, not assembler comments.
1995-04-15 02:07:14 +00:00
Brendan Kehoe
b2531dea3a * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define. 1995-04-15 01:56:26 +00:00
Roland McGrath
af4fa09130 (__sigfillset): Use ~0L instead of -1 to avoid compiler warning. 1995-04-05 16:07:53 +00:00
Brendan Kehoe
202cae361f * sysdeps/alpha/__longjmp.c (__longjmp): Take out const. 1995-03-31 03:52:13 +00:00
Brendan Kehoe
e34abb0bcb * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST. 1995-03-31 01:47:52 +00:00
Roland McGrath
2e444e579a (_JMPBUF_UNWINDS): New macro. 1995-03-27 09:27:34 +00:00
Brendan Kehoe
fdf91378b9 newly generated ones 1995-03-10 02:59:52 +00:00
Brendan Kehoe
3b96aa40f8 * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
that's used inside the alpha sysdep.h.
1995-03-10 02:59:06 +00:00
Brendan Kehoe
8c632b258d duh, don't need __attribute__ in the alpha header, it's in the toplevel
one
1995-03-10 02:44:20 +00:00
Brendan Kehoe
9d7c89bc4b * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
keyword.
1995-03-10 02:16:23 +00:00
Brendan Kehoe
9ef37b0454 * sysdeps/alpha/__math.h (__copysign): Use attribute instead of old
__CONSTVALUE by adding forward decl first with the const attribute.
1995-03-10 02:10:40 +00:00
Brendan Kehoe
77072f48a5 moved from ../osf1 1995-03-10 01:51:02 +00:00
Brendan Kehoe
864a3e4e29 imoved from osf1 (had to do it over here, cvs crashed at Cygnus
trying to do it remotely)
1995-03-10 01:49:04 +00:00
Brendan Kehoe
e667dcee38 moved to ../osf 1995-03-10 01:22:34 +00:00
Roland McGrath
66971be811 Initial checkin. 1995-03-06 00:22:30 +00:00
Roland McGrath
35ca0c8d1b (__mmap, __munmap): Declare these. 1995-03-03 20:06:13 +00:00
Roland McGrath
35618994bc (mmap): Rename to __mmap, add weak alias mmap. 1995-03-03 19:42:08 +00:00
Roland McGrath
ac873351a0 [subdir=crypt] (crypt): New variable, set to crypt.solar. 1995-02-22 02:53:16 +00:00
Roland McGrath
882ec8cfeb Remove `__environ' definition. 1995-02-21 03:05:56 +00:00
Roland McGrath
f427a39dbd Remove __environ definition. 1995-02-20 00:53:51 +00:00
Roland McGrath
e95606364c Fix #include of renamed file. Remove extra weak alias. 1995-02-19 23:43:06 +00:00
Roland McGrath
484d089077 Fix unsquashed file name in #include. 1995-02-19 23:33:19 +00:00
Roland McGrath
92c7a8e20e Previously uncontrolled files put into CVS. 1995-02-18 00:05:51 +00:00
Roland McGrath
5e7cd26de6 (divrem output): Do cvs commit if there is a CVS directory. 1995-02-17 23:48:00 +00:00
Roland McGrath
a424e41858 Files generated from divrem.m4. 1995-02-17 20:14:40 +00:00
Roland McGrath
3b84e62ef2 Imported from gmp-1.900 1995-02-17 20:13:09 +00:00
Roland McGrath
7ae4a9668a Update #include for renaming. 1995-02-17 18:39:13 +00:00
Roland McGrath
6b31933688 Remove `const' from function prototype. 1995-02-10 00:10:54 +00:00
Roland McGrath
1eae31ac32 Initial revision 1995-02-08 03:06:52 +00:00
Roland McGrath
8548d4c084 Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.
1995-02-07 04:25:56 +00:00
Roland McGrath
23afbf2338 (ENTRY): Add `.ent' directive. 1995-02-05 22:59:48 +00:00
Roland McGrath
a4b6477451 Use ENV[0].__jmpbuf[0]. 1995-02-03 23:29:20 +00:00
Roland McGrath
ff775c1262 Use li' insn instead of move'. 1995-02-03 23:24:38 +00:00
Roland McGrath
b0dcd6754f Remove obsolete __NORETURN keyword. 1995-02-03 23:22:27 +00:00
Roland McGrath
14b832adfd (_hurd_setup_sighandler): Use `long int' for sigcode.
Use explicit register numbers instead of names.
(_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault.
1995-02-03 23:20:27 +00:00
Roland McGrath
37da91a00d Use `long int' for sigcode. 1995-02-03 23:15:48 +00:00
Roland McGrath
a1350964e9 [ASSEMBLER]: Protect macros with this. 1995-01-27 20:48:38 +00:00
Roland McGrath
f6aa1372e1 Call getpgrp instead of __getpgrp. 1995-01-26 06:23:39 +00:00
Roland McGrath
05834bf1c7 [ASSEMBLER]: Protect macros with this. 1995-01-26 05:36:51 +00:00
Roland McGrath
1d3e470455 (environ): Define as weak alias for __environ. 1995-01-26 03:46:04 +00:00
Roland McGrath
d6961ffadf (sysdep_routines): Removed __setpgid, __getpgid. 1995-01-26 01:43:07 +00:00
Roland McGrath
c9db5502eb Renamed __setpgrp to __setpgid, added weak aliases setpgid and setpgrp. 1995-01-26 01:32:08 +00:00
Roland McGrath
628d175a3c (__getpgrp): Renamed to __getpgid, with weak alias getpgid. 1995-01-26 01:31:06 +00:00
Roland McGrath
1bf2d9ab9b Included file was renamed from setpgrp.c. 1995-01-26 01:28:44 +00:00
Roland McGrath
f612f28027 Included file was renamed from __getpgrp.c. 1995-01-26 01:27:55 +00:00
Roland McGrath
c54278121e Use subcall 4 to __pgrpsys. 1995-01-26 01:25:38 +00:00
Roland McGrath
a38d08f7b4 Use subcall 5 to __pgrpsys. 1995-01-26 01:24:28 +00:00
Roland McGrath
86c4edb31b Renamed __getpgrp to __getpgid, added weak alias getpgid. 1995-01-26 01:22:57 +00:00
Roland McGrath
9207d65805 Renamed __setpgrp to __setpgid, added weak aliases setpgid and setpgrp. 1995-01-26 01:21:48 +00:00
Roland McGrath
1a0149ddaa Included file was renamed from __getdents.S. 1995-01-25 22:39:24 +00:00
Roland McGrath
ba5bfe4235 Remove __NORETURN; it's obsolete. 1995-01-25 21:38:14 +00:00
Roland McGrath
cc8aa8bf32 [weak_alias] (index): Define as weak alias for strchr. 1995-01-22 20:28:20 +00:00
Roland McGrath
1cec31f4d4 Converted to use weak aliases with macros from libc-symbols.h. 1995-01-21 15:40:54 +00:00
Roland McGrath
3c22ede5ec Converted to use weak aliases with macros from libc-symbols.h. 1995-01-21 14:40:39 +00:00
Roland McGrath
3332ae5c89 Initial revision 1995-01-15 16:50:59 +00:00
Brendan Kehoe
2d4d45d59d * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2
instead of t0, t1, and t2.
1995-01-10 18:46:33 +00:00
Roland McGrath
71a986ecd7 (__m81_inline): New macro.
Replace all uses of `extern __inline' with `__m81_inline'.
1994-12-28 09:57:21 +00:00
Roland McGrath
4be66ebd61 Reverse register and immediate args in `bis' insn; immediate must be
second.
1994-12-15 01:01:53 +00:00
Roland McGrath
ca194bd9da (_hurd_setup_sighandler): Remove A macro; just use `asm volatile' with
proper quotes in each line.
1994-12-15 00:12:48 +00:00
Roland McGrath
33aa4240f6 (CALL_WITH_SP): Put parens around jmp target register. 1994-12-15 00:09:43 +00:00
Roland McGrath
edae2ab8af Use `long int' for sigcode values.
Use _hurdsig_catch_fault.
Pass address of __sigreturn in $27, SCP value in $25.
In trampoline code, use those regs.
1994-12-12 06:43:12 +00:00
Roland McGrath
94cd6ef1f8 Use asms instead of global register vars to restore FP regs.
Fix typo in REI invocation.
1994-12-12 06:41:03 +00:00
Roland McGrath
079f003a7c Use C comments instead of ! comments. 1994-12-10 05:20:47 +00:00
Roland McGrath
d61ce4f4b8 Include <mach/machine/alpha_instruction.h> to define op_chmk. 1994-12-10 05:17:13 +00:00
Roland McGrath
25e6db514e Use `long int' for sigcode values. 1994-12-10 04:41:06 +00:00
Roland McGrath
fa7242a3a9 Include <sysdep.h> instead of <regdef.h>.
Use C comments instead of ! comments.
1994-12-09 20:24:26 +00:00
Roland McGrath
b5f9dfd1a1 Remove extra shift and OR of CHARMASK. 1994-12-09 20:16:06 +00:00
Roland McGrath
c82ceb0b00 Use ENV[0].__jmpbuf[0]. 1994-12-09 20:02:05 +00:00
Roland McGrath
d73a59163e (ENTRY): New macro. 1994-12-09 20:00:58 +00:00
Roland McGrath
94b0df52ff Initial revision 1994-12-09 06:07:49 +00:00
Roland McGrath
60bbd54df8 (START_MACHDEP): Add missing backslashes.
(CALL_WITH_SP): Cast FN to long int.
1994-12-09 05:47:43 +00:00
Roland McGrath
8b0538623b (struct machine_thread_all_state): New member `exc'. 1994-12-09 05:42:09 +00:00
Roland McGrath
946b6e002a Remove ".set noreorder" et al; GCC already emits them.
Fix register constraints in asms.
Set RTN in C, not asm.
1994-12-09 05:05:05 +00:00
Roland McGrath
157aaa4ee6 Remove ".set noreorder" et al; GCC already emits them. 1994-12-09 03:42:31 +00:00
Roland McGrath
a11dbdebf0 Rename variable `sp' to avoid conflict with #define in <mach/alpha/asm.h>. 1994-12-08 19:45:02 +00:00
Roland McGrath
89347dc3e9 Remove unused variable. 1994-12-08 19:43:43 +00:00
Roland McGrath
5a8d8a2049 Initial revision 1994-12-07 20:02:38 +00:00
Roland McGrath
ccd1325bd5 Use ENV[0].__jmpbuf[0]. 1994-12-05 17:57:43 +00:00
Roland McGrath
69edd206e9 Use ENV[0].__jmpbuf. 1994-12-05 17:55:41 +00:00
Roland McGrath
2782be7451 Use `movel' for pushes and pops. 1994-12-04 19:08:38 +00:00
Roland McGrath
eb6741dde4 (__sigsetjmp): Fix typo. 1994-12-04 19:06:52 +00:00
Roland McGrath
29031a89a2 Take arg of type __jmp_buf, not jmp_buf. 1994-12-04 19:04:45 +00:00
Roland McGrath
b0a51e5395 (__longjmp): Make arg const. 1994-12-04 18:57:56 +00:00
Roland McGrath
60074b22a2 (__longjmp): Take arg of type __jmp_buf, not jmp_buf. 1994-12-04 18:56:14 +00:00
Roland McGrath
5b743d860e Set members in ENV[0].__jmpbuf[0], not ENV[0]. 1994-12-04 18:51:22 +00:00
Roland McGrath
fd339eecd8 (__sigsetjmp): That's __jmpbuf, not __jmp_buf. 1994-12-04 18:48:04 +00:00
Roland McGrath
4afe5be041 Set members in ENV[0].__jmp_buf[0], not ENV[0]. 1994-12-04 18:46:59 +00:00
Roland McGrath
65377bcaa1 Initial revision 1994-12-04 18:14:36 +00:00
Roland McGrath
97f187ac88 Pass SP and FP as 3rd and 4th args, not 2nd and 3rd. 1994-12-04 18:10:46 +00:00
Roland McGrath
876f191f7f Pass FP and SP as 3rd and 4th args, not 2nd and 3rd. 1994-12-04 18:09:25 +00:00
Roland McGrath
3adc78aced Implement __sigsetjmp_aux instead of __setjmp_aux; call __sigjmp_save. 1994-12-04 18:08:19 +00:00
Roland McGrath
e5eb42c555 Implement __sigsetjmp instead of __setjmp; call __sigsetjmp_aux instead of
__setjmp_aux.
1994-12-04 18:07:13 +00:00
Roland McGrath
0df328ab41 Comment fix. 1994-12-04 18:00:48 +00:00
Roland McGrath
75ab5314ea Implement __sigsetjmp_aux instead of __setjmp_aux; call __sigjmp_save. 1994-12-04 18:00:25 +00:00
Roland McGrath
1f58923f3c Implement __sigsetjmp instead of __setjmp; call __sigjmp_save. 1994-12-04 17:53:34 +00:00
Roland McGrath
5c87d70ba0 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.
1994-12-03 14:00:08 +00:00
Roland McGrath
39edbfd9c8 (sigcontext
): Fixed typo.
1994-12-03 13:57:03 +00:00
Roland McGrath
d2d635a9db Fix typo .global' to .globl'. 1994-12-03 00:31:14 +00:00
Roland McGrath
239291e1db (struct sigcontext): Use __sigset_t' instead of sigset_t' for `sc_mask'. 1994-11-22 22:29:25 +00:00
Roland McGrath
e8a261b3fc [__motorola__]: Swap operands in cmp.l. 1994-11-17 01:59:01 +00:00
Roland McGrath
cef89fdba9 Initial revision 1994-11-15 10:39:12 +00:00
Roland McGrath
0044b03ec3 Initial revision 1994-11-15 07:01:18 +00:00
Roland McGrath
dae2877c9e (divrem rule): Make the output unwritable, use mv -f. 1994-11-15 06:55:45 +00:00
Roland McGrath
8e576015fb entered into RCS 1994-11-15 06:48:25 +00:00
Roland McGrath
ac63472234 (msync): Use __caddr_t instead of caddr_t in decl. 1994-11-10 21:53:39 +00:00
Roland McGrath
7d99e5148d entered into RCS 1994-11-10 09:58:40 +00:00
Roland McGrath
18b0df639c Formerly ./mach/hurd/alpha/trampoline.c.~2~ 1994-11-10 09:29:41 +00:00
Roland McGrath
9bcfb9b9bc Initial revision 1994-11-10 04:41:19 +00:00
Roland McGrath
0d92fbeca7 entered into RCS 1994-11-10 04:35:29 +00:00
Roland McGrath
1db9e43738 Initial revision 1994-11-09 12:23:25 +00:00
Roland McGrath
eacddc0a20 entered into RCS 1994-11-08 23:34:47 +00:00
Roland McGrath
72dd53ade3 Initial revision 1994-11-08 23:32:22 +00:00
Roland McGrath
2131138c90 entered into RCS 1994-11-08 22:33:29 +00:00
Roland McGrath
92c456e486 entered into RCS 1994-11-01 08:32:25 +00:00
Roland McGrath
216eed1fd6 entered into RCS 1994-11-01 06:28:24 +00:00
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
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
Roland McGrath
0ba370609f Initial revision 1994-07-16 21:16:31 +00:00
Roland McGrath
bab9b65903 entered into RCS 1994-07-16 04:43:42 +00:00
Brendan Kehoe
85b67f1ffb entered into RCS 1994-07-14 22:21:57 +00:00
Brendan Kehoe
c286ffe823 Initial revision 1994-07-14 22:13:18 +00:00
Brendan Kehoe
bc8037a42c entered into RCS 1994-07-14 19:43:12 +00:00
Brendan Kehoe
2200643a09 entered into RCS 1994-07-11 21:49:56 +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
Brendan Kehoe
d828aec47f Formerly sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile.~3~ 1994-07-09 01:59:28 +00:00
Brendan Kehoe
5654dd81f0 entered into RCS 1994-07-09 01:59:20 +00:00
Brendan Kehoe
876bbb9e03 Initial revision 1994-07-09 01:38:37 +00:00
Brendan Kehoe
3f9ea18cb5 Formerly unix/sysv/sysv4/solaris2/Makefile.~3~ 1994-07-09 00:26:26 +00:00
Roland McGrath
2e91173e39 entered into RCS 1994-07-08 18:39:48 +00:00
Roland McGrath
81c4ea64ef entered into RCS 1994-06-28 20:31:20 +00:00
Roland McGrath
7088289daa entered into RCS 1994-06-23 05:17:22 +00:00
Brendan Kehoe
12aeba0610 entered into RCS 1994-06-14 18:09:31 +00:00
Roland McGrath
6cba56a4a6 entered into RCS 1994-06-13 23:50:11 +00:00
Roland McGrath
45f830dc74 entered into RCS 1994-06-10 22:43:23 +00:00
Roland McGrath
5d3fde1a02 Formerly unix/sysv/sysv4/i386/sysdep.h.~2~ 1994-05-24 05:56:11 +00:00
Roland McGrath
f86d8fd4cd Formerly unix/sysv/sysv4/sigset.h.~5~ 1994-05-21 20:42:51 +00:00
Roland McGrath
9e2dc2608f entered into RCS 1994-05-21 01:33:03 +00:00
Roland McGrath
6bf0741b63 Initial revision 1994-05-21 01:32:10 +00:00
Roland McGrath
7bc3467f40 entered into RCS 1994-05-19 15:29:10 +00:00