136 Commits

Author SHA1 Message Date
pk
7aa7897748 Simplify. 1995-03-11 20:28:59 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd
572e3f3188 don't forget inifinity.c 1995-02-25 16:24:22 +00:00
cgd
ea1ca14ecb need these for new gen/Makefile 1995-02-25 16:20:12 +00:00
cgd
6929ad87a5 need these now, with new net Makefile.inc 1995-02-25 14:58:43 +00:00
cgd
3f45f31f15 strange corner cases:
(1) zero top 32 bits for 32-bit unsigned ops; 32-bit value can
		be accidentally(?) sign-extended by the compiler/assembler.
	(2) fix return value for mod's that cause traps
1995-02-25 03:09:32 +00:00
jtc
e7d917e6eb Remove extra "u" constraint that caused gcc 2.6.3 not to compile this file.
Note that gcc 2.4.5, the compiler we are currently using, still compiles it
correctly after this change.
1995-02-17 06:01:47 +00:00
cgd
e4f5181d15 libc support for the alpha. more functions should be written in assembler,
but that's optimization.  8-)
1995-02-10 17:49:48 +00:00
mycroft
e90d9fb8a6 Make the coding style more consistent. 1995-02-08 18:33:12 +00:00
mycroft
ae5740f063 size_t is unsigned. 1995-02-08 18:15:25 +00:00
mycroft
d04155c293 Optimize better. 1995-02-05 14:58:44 +00:00
mellon
1afdb958f0 +Infinity for MIPS 1995-01-18 01:27:24 +00:00
pk
7530512a37 Machine dependent sig{set,long}jmp(). 1995-01-11 20:22:28 +00:00
mycroft
f1b3337a0b Need to divide count by 2. 1995-01-07 03:44:55 +00:00
jtc
b4bd7fea24 Replaced pops with adds. 1994-12-24 01:16:44 +00:00
jtc
26eccb0a9b Exchange offsets of "saved signal mask" and "signal mask saved" so
that the layout of sigjmp_bufs and jmp_bufs are the same (except
for the "signal mask saved" appended to the end).
1994-12-24 01:05:44 +00:00
mycroft
201fac6e3d More underscores... 1994-12-15 17:24:44 +00:00
dean
a51d5c8eef underscore changes 1994-12-12 19:31:22 +00:00
phil
eb5168e5dc RCS id format. 1994-12-07 04:47:59 +00:00
dean
820aec410e more underscore changes. 1994-11-28 18:56:40 +00:00
mycroft
fcc40a849d If len == 0, then the result must be 0 regardless of the other arguments. 1994-11-24 16:36:35 +00:00
dean
705ee976cf Prepended underscores 1994-11-14 23:48:58 +00:00
dean
add2031dcf Prepended underscores 1994-11-14 23:33:46 +00:00
mycroft
2db41a19e7 Use trap gate to enter kernel. 1994-10-26 19:49:42 +00:00
phil
c0356ed2a6 New file from Matthias. 1994-10-21 07:28:44 +00:00
phil
db01d4c84a fix code for PIC. 1994-10-21 07:13:21 +00:00
mycroft
837f99d25c Clean up deleted files. 1994-10-06 04:38:25 +00:00
mycroft
6ba85483c3 Use bfffo rather than a slow loop. 1994-09-09 03:07:23 +00:00
mycroft
af176ad58f Revert this. 1994-08-05 22:35:20 +00:00
chopps
628cf4e2c8 fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
1994-08-04 05:02:31 +00:00
chopps
03dbf74333 inline call to sigreturn original idea from jason downs <downsj@CSOS.ORST.EDU>
we want this to be done for everything including non-PIC code as longjmp()
does non-standard things with regs and wouldn't like it if the user replaced
the sigreturn() stub.
1994-08-04 05:00:50 +00:00
phil
ffdfc8a9b1 patch from Matthias Pfaller. 1994-08-01 19:37:14 +00:00
deraadt
b5aa4fdd78 set KMSRCS & friends 1994-06-30 06:46:37 +00:00
phil
535a398e2a _minbrk => minbrk 1994-06-10 22:46:14 +00:00
phil
cfb1bf8cc5 quad -1 return value now done right 1994-06-02 20:39:22 +00:00
phil
6536072af7 add missing include 1994-05-27 21:56:04 +00:00
glass
ae1bfcddc4 libc support for mips. libkern hooks are disabled 1994-05-24 07:12:09 +00:00
deraadt
4438ac29e5 sigaltstack 1994-05-17 23:56:24 +00:00
chopps
a6a8e78548 update to use sigaltstack. 1994-05-10 08:15:57 +00:00
phil
5f26aade17 shared lib support and some clean up. 1994-05-03 20:39:52 +00:00
phil
36d933ca4f quad -1 thing. 1994-04-04 06:54:15 +00:00
mycroft
ca01015e04 Clean up deleted files. 1994-04-02 05:37:06 +00:00
cgd
b62b3fc050 have cerror DTRT on returns, w.r.t. quads and -1. it needs to be done
here (think of syscall(SYS_lseek,...)).  also, kill bogus lseek thang.
1994-04-02 05:37:04 +00:00
mycroft
345c8ef85c Clean up deleted files. 1994-04-02 05:36:54 +00:00
cgd
da34d8a406 have cerror DTRT on returns, w.r.t. quads and -1. it needs to be done
here (think of syscall(SYS_lseek,...)).  also, kill bogus lseek thang.
1994-04-02 05:36:52 +00:00
mycroft
d5dbb53fee Set d1 to -1 before cerror. 1994-03-31 18:50:58 +00:00
mycroft
b3086b2299 Need to set %edx to -1 before cerror, though perhaps we should have something
more generic for this.
1994-03-31 18:38:57 +00:00
mycroft
a3450ab6e8 Add a .text and .align to SYSCALL(). 1994-03-31 18:31:23 +00:00
chopps
2c8fad6100 Need for copy-to-libkern-machdep in ../../Makefile 1994-03-29 07:10:36 +00:00
jtc
98cbb217ac mem -> reg & reg->reg moves take the same time; so save a cycle by reading
the block length from the stack instead of caching it in a register.
1994-03-22 01:15:47 +00:00