Commit Graph

114 Commits

Author SHA1 Message Date
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
mycroft 46a09934d4 Clean up deleted files. 1994-03-22 01:13:11 +00:00
mycroft b05d947874 Clean up deleted files. 1994-03-17 01:58:27 +00:00
jtc 1f29a3d910 Smaller & Faster. 1994-03-16 17:40:23 +00:00
jtc 5ac78ccb34 [hn]to[nh][sl] functions used xchgb %h1,%b1 instead of the faster (on the
i486 & i586) rorw $8, %w1.
1994-03-16 17:34:14 +00:00
jtc 915f7d4d3d Use RCSID macro. 1994-03-12 01:48:26 +00:00
jtc c95cd47ba2 Use RCSID macro for RCS ID's. 1994-03-12 01:39:55 +00:00
phil e69ab544c4 Fixed global var access to be pc relative. 1994-03-09 07:50:56 +00:00
phil 28965bf6db Removing the unnecessary includes of sys/syscall.h. 1994-03-07 23:20:38 +00:00
phil 6cea70fe75 Changing ## to /**/ for use with -traditional mode. 1994-03-04 21:10:12 +00:00
phil dde7045e0d Changing PSR_T to PSL_T. 1994-02-25 07:41:18 +00:00
phil 94303d1113 SYS.h: adding EX()
Makefile.inc: adding a cflag for a compiler that doesn't define ns32k
1994-02-25 07:40:47 +00:00
mycroft 90ff28fef4 Style police. Use `je' and `jne' only on the result of an equality test;
use `jz' and `jnz' in all other cases.
1994-02-14 20:05:52 +00:00
jtc 7f582f99d4 Fix spelling mistake: cashe -> cache. 1994-02-14 17:45:16 +00:00
jtc 01284ad877 Performance improvement from Bruce Evans.
Removes one test instruction for each character.
1994-02-14 17:44:39 +00:00
jtc f28455f783 Use "ror $8,%ax" instead of "xchg %al,%ah": equal on a i386, 1 cycle faster
on a i486, and 2 cycles faster on a iPentium.
1994-02-14 17:43:19 +00:00
pk e0bf9676e9 Insert some Position Independent Code. 1994-02-10 20:15:28 +00:00
chopps 4abc3ff245 handle __STDC__ preprocessor. 1994-02-08 02:31:55 +00:00
jtc 5cffad2151 Use movzbl, not movsbl, to zero extend for unsigned comparison.
Fix from Bruce Evans.
1994-02-07 20:57:05 +00:00
mycroft 48ae66e2eb Use machine/asm.h for ENTRY() macros. 1994-01-30 21:55:52 +00:00
mycroft f5fbffc1f4 Just use definitions from machine/asm.h. 1994-01-29 09:56:54 +00:00
jtc e2c220f94b Fix spelling error in Copyright notice 1994-01-28 20:34:33 +00:00
mycroft 1fe07f186d Separate curbrk and mincrk. 1994-01-27 15:08:03 +00:00