Commit Graph

68 Commits

Author SHA1 Message Date
christos
7c990e0c7b delint 1998-11-14 19:31:01 +00:00
kleink
d541ca6d80 Need internal names for isinf() and isnan(). 1998-10-13 14:43:36 +00:00
matthias
ce5916bcb9 __setjmp14.S
fix a fatal bug I introduced when I merged my changes with Jason's.
__sigsetjmp.S
	cosmetics
1998-10-03 10:39:46 +00:00
matthias
d2a91d2279 SYS.h
Fix CALL to use _C_LABEL.
gen/Makefile.inc
	setjmp.S and sigsetjmp.S don't have lint stubs. Append them to
	SRCS, not ASSRCS.
gen/__setjmp14.S, gen/__sigsetjmp14.S
	some small optimizations
string/strcat.S string/strncat.S string/strncpy.S
	use _C_LABEL when calling functions
1998-10-01 22:46:35 +00:00
thorpej
c9c3e3bff4 ns32k signal changes. 1998-09-29 20:24:36 +00:00
perry
c6300798a1 add memcmp.S 1998-08-04 03:35:32 +00:00
perry
73e9c49b2b add memmove.S to libkern. 1998-08-04 01:24:59 +00:00
mycroft
982e920022 const poisoning. 1998-07-26 14:13:00 +00:00
matthias
f7d0254c4b Fix all the bugs I introduced with my last fix... 1998-05-28 22:07:22 +00:00
matthias
4c27158c66 Fix a bug in bug in bcopy/memcpy/memmove that would manifest when
(dst-src < 4) and (dst < src). Credits for finding and diagnosing
this bug go to Ian Dall.
1998-05-27 20:05:43 +00:00
matthias
425a6f2c60 KKENTRY -> KENTRY, fallout from my -mrtd experiments. 1998-04-21 19:57:39 +00:00
matthias
b034fd9de6 shutdown is using exect and what we had here made shutdown fail with
a BPT/Trace trap.
1998-04-19 20:14:18 +00:00
matthias
373680d979 Prepare assembler source for -mrtd kernels. 1998-04-03 22:58:08 +00:00
mycroft
f948529426 Add some more items to KMSRCS. 1998-02-22 09:04:50 +00:00
thorpej
bedc7b48df Add syscall stubs for __vfork14(). These are basically copies of Ovfork.S
with the syscall numbers changed.

Since 4.4BSD vfork(2) did not share address space, Ovfork.S could be changed
to be identical to fork.S (modulo syscall numbers).  __vfork14.S, however,
needs to remain separate since with a shared address space, the stub needs to
pre-decrement the stack and do an indirect jump to the return address, so that
the shared stackframe is still there when the parent returns.  (Obviously,
this does not apply to systems which to not build stackframes on leaf calls.)
1998-01-04 20:58:08 +00:00
matthias
8c90828457 Introduce ASSRCS. This is set to all the ns32k md assembler source files.
arch/ns32k/Makefile sets SRCS, LSRCS and DPSRCS from this.
1997-12-07 00:19:16 +00:00
matthias
1469ba0767 No longer in use. 1997-12-07 00:17:53 +00:00
cgd
4d7e773266 A foolish consistency... gen, net, and string all get MD sources
specified by including a Makefile.inc from the appropriate MD directory.
stdlib doesn't do that, but there's no reason that it shouldn't (and
it'd be nice to eliminate the 'if's from the MI stdlib Makefile.inc).
1997-11-05 22:59:37 +00:00
phil
2c764d53fa Make it compile with WARNS=1. (I'm not sure where the prototype really
should be, but it does now compile.)
1997-10-27 05:28:46 +00:00
phil
d27ec1e50a Get it compiling again in the WARNS=1 environment. 1997-10-24 06:26:39 +00:00
lukem
2a55b0f192 rcsid police 1997-10-09 10:07:40 +00:00
phil
b94cad931e Add missing quote (") at end of _RCSID argument. 1997-07-21 06:01:55 +00:00
christos
91c9c62e44 Fix RCSID's 1997-07-13 18:45:15 +00:00
christos
89ce8a631d Add missing math.h include
Fix RCSID's
1997-07-13 18:40:38 +00:00
matthias
b153a75c32 * Add correct $NetBSD$ headers everywhere.
* Remove $Id$ headers.
* Support LIB_SCCS in all files.
* Use local labels where ever possible.
* Use cpufunc.h instead of __asm__ when possible.
* Access labels with _C_LABEL and _ASM_LABEL.
* Always set errno by calling cerror.
* No more FRAME/EMARF.
* No more SVC, use SYSTRAP instead.
* Use "$Masqueraded: as XXX $" to show e.g. memcpy compiled as bcopy.
* Rewrite vfork to work even whith a "real" vfork system call.
* Make cerror take care of _REENTRANT.
1997-05-08 13:38:29 +00:00
kleink
2913a7a8a4 Consistency: distinguish between PSEUDO() and PSEUDO_NOERROR(). 1997-05-02 18:15:15 +00:00
jtc
11935403ef PROF -> GPROF 1996-11-30 02:31:49 +00:00
mycroft
c9ec05f4b2 Treat reboot() like a normal system call. From PR 2458. 1996-11-11 13:41:08 +00:00
matthias
0e85514579 * Provide an ovbcopy as an alternate entrypoint for bcopy when _KERNEL is
defined.
1996-11-07 07:43:02 +00:00
matthias
c6f98022c7 * Use SYSCALL_NOERROR to define SYSCALL. 1996-11-07 07:42:38 +00:00
matthias
3aa582ed1f * Delete DEFS.h from KMINCLUDES.
* Add bcopy.S, memcpy.S and memset.S to KMSRCS.
1996-11-07 07:42:29 +00:00
matthias
42f541d107 * This is no longer used. 1996-11-07 07:42:21 +00:00
jtc
b095d96598 Added new macros:
SYSTRAP(x):             Expands to the code used to call syscall x.
				This is used to simplify other macros.

        SYSCALL_NOERROR(x):     Like SYSCALL except that "x" is a syscall
				that can never fail.

        RSYSCALL_NOERROR(x):    Like RSYSCALL except that "x" is a syscall
				that can never fail.
1996-10-18 00:49:03 +00:00
matthias
b92278aef8 The pc532 port now has string functions in assembler.
strcmp.S, strcpy.S and strlen.S are contributed by Randy Hyde.
1996-09-24 09:29:52 +00:00
matthias
9ea65c1c28 Changed KMSRCS to reflect new reality (Stringfunctions in assembler). 1996-09-24 09:18:29 +00:00
phil
07df601bbf Add missing ~. (PR 2311) 1996-04-09 16:33:32 +00:00
phil
bf6acfece8 Addition of fp routines. (PR 2281 from Matthias Pfaller.) 1996-04-05 00:23:05 +00:00
phil
3fac82adb2 Change the definition of __infinity on the ns32k. (PR 2283) 1996-04-04 23:45:18 +00:00
jtc
daa40d9a50 Add explicit return type 1996-02-05 04:30:51 +00:00
phil
d995fcfdb1 correction from Matthias Pfaller. 1995-09-20 22:34:03 +00:00
phil
e4748bf0ca typo: fld_... -> flt_... 1995-05-03 03:25:11 +00:00
jtc
a6fa20ea30 Added __flt_rounds, fp{get,set}round. 1995-04-28 21:57:00 +00:00
mycroft
ce36f636ab Separate machine dependencies. 1995-03-20 14:45:27 +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
phil
eb5168e5dc RCS id format. 1994-12-07 04:47:59 +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