589 Commits

Author SHA1 Message Date
ross
c5a82dd848 * New MI man page for fp{set,get}{round,sticky,mask}(3).
* Implement fpgetsticky() for alpha.
* Direct fpsetsticky() and fp{get,set}mask() into alpha kernel via sysarch(2).
* Define new sysarch(2) stub for above and install and distribute sysarch.h
for alpha.  (The fpcr IS user mode r/w, but for reasons beyond the scope
of a commit message kernel calls are needed.) And much kernel Magick is
required before these do anything, but this way programs compiled under
1.4 will DTRT on future snapshots and releases.
1999-04-30 00:58:30 +00:00
kleink
b74f892f6d Declare cerror using _ENTRY() to get, among other things, a .type statement. 1999-04-29 15:37:21 +00:00
ws
5423093850 Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
1999-04-17 21:16:45 +00:00
ragge
765d11306b Set infinity to the highest D-float possible.
XXX - infinity does not exist on vax...
1999-04-17 14:53:32 +00:00
eeh
713a1d89ff Add _dtoul() which gcc generates a lot. Maybe it should go in another file. 1999-04-04 21:01:39 +00:00
kleink
dccf2a15e4 While in transition, conditionally rename _ASM_LABEL(cerror) and
_ASM_LABEL(curbrk) to _C_LABEL(__cerror) and _C_LABEL(__curbrk), respectively,
depending on the object format chosen, to avoid user namespace clashes.
1999-03-31 18:14:27 +00:00
kleink
5af7e7a902 Change references to end' to _end' as not to invade (or being invaded by)
the user's name space.
1999-03-31 11:53:07 +00:00
jonathan
cd6244f1cc Assembly-coded, word-at-a-time unrolled memset(). 1999-03-15 06:37:43 +00:00
mycroft
2b504929fa Just some minor cleanup. 1999-03-10 08:15:43 +00:00
mycroft
f1c544b6a8 Use ieee.h structs and macros. 1999-03-10 08:14:44 +00:00
ragge
22df858e3c Fix typos after the hton* changes. Need __*setjmp14.S also. 1999-03-06 11:13:43 +00:00
christos
ae6215337e Don't use 1: label; it is uses by the PIC_PROLOGUE macro and we jmp in the
wrong place!
1999-02-22 13:07:14 +00:00
christos
af1c8fd11a For don't mess up the stack before calling syscall when using PIC_PROLOGUE. 1999-02-13 16:13:48 +00:00
is
3fafc185a5 68060 optimization, doesnt hurt others 1999-02-08 22:00:13 +00:00
christos
e387e174fc Amend for the PLT fixes, things broke last night with the changes to SYS.h
and cerror.S. In particular, the syscalls in the files committed below were
broken.
1999-02-08 18:56:48 +00:00
christos
143dcdbe44 Make cerror an entry and compensate for the PIC_PROLOGUE change in SYS.h 1999-02-07 17:22:25 +00:00
christos
cb41675175 Add PIC_PROLOGUE before the PLT call to cerror. ELF dynamic linking needs
this.
1999-02-07 17:21:38 +00:00
jonathan
2d40554ce3 _setjmp.S needs OFFSETOF_SC_{FP,}REGS, so include <machine/signal.h>
even tho _setjmp()/_longjmp() don't manipulate signals.  (more thought?)
1999-02-05 00:41:42 +00:00
matthias
f44e783c10 When invoking ALTENTRY, the arguments may not contain spaces (not even
after the ",") or this will fail when cpp is run with -traditional-cpp.
1999-02-01 21:32:35 +00:00
castor
eede9d202f Regularize with removal of genpubassym.cf. Structure offsets
now obtained from signal.h
1999-01-31 00:57:10 +00:00
jonb
f23e238690 things like newfs need bswap64 in libc 1999-01-22 14:22:36 +00:00
mycroft
da8a0f49c7 Whitespace fix. 1999-01-22 11:01:04 +00:00
mycroft
99355f3153 Use insbl to reduce by 1 instruction. 1999-01-22 10:59:18 +00:00
mycroft
8bf9a67c76 One instruction shorter, and returns the same 32-bit result. 1999-01-22 09:13:17 +00:00
castor
8605fac4eb * Fix typo in Makefile.inc -- byte_swap_2.4 -> byte_swap_4.S
* Change bytes_swap_4.S to have consistent NLEAF and END for swap routine.
1999-01-18 04:32:49 +00:00
bouyer
dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
castor
7ad987bb7c Userland support for 64-bit safe sigcontexts. 1999-01-15 03:53:33 +00:00
kleink
6348b7d5b5 * On architectures using ELF, and conditionally on those in transition, rename
_ASM_LABEL(cerror) and _ASM_LABEL(curbrk) to _C_LABEL(__cerror) and
_C_LABEL(__curbrk) (or their respective architecture-specific equivalents) to
avoid possible name clashes with identifiers used in user applications.
* Do the same for minbrk on all architectures to avoid a GCC-specific (and
on ELF architectures effectively useless) symbol reference renaming in MI code.
1999-01-14 22:48:18 +00:00
simonb
c93135c35a s/vm_offset_t/vaddr_t/ 1999-01-10 08:24:42 +00:00
eeh
ff34887c45 More fixes to signal handling code... 1999-01-03 16:22:04 +00:00
mycroft
317ff12487 Slight cleanup. 1998-12-04 09:52:43 +00:00
thorpej
efd37a7da8 Warn about references to the compatibility vfork() (i.e. the vfork() with
the 4.4BSD non-shared-address-space semantics), and direct the user to
include <unistd.h> to generate the correct reference.

This warning isn't about an ABI compatibility issue, but the new vfork() is
considerably faster.
1998-12-02 19:29:56 +00:00
thorpej
e644246e6a Warn about references to the compatibility() sigaction(), sigpending(),
sigprocmask(), sigreturn(), and sigsuspend(), and direct the user to
include <signal.h> to generate the correct reference.
1998-12-02 01:01:03 +00:00
sakamoto
e3a695901c Add frexp.c and modf.c. 1998-11-26 07:50:56 +00:00
tsubai
106908bdb8 Add PIC version. 1998-11-24 11:14:54 +00:00
christos
7c990e0c7b delint 1998-11-14 19:31:01 +00:00
matt
cf2842a1b0 Some changes to disassembly easier without causing any performance penalty. 1998-10-20 06:46:19 +00:00
christos
f2e15d15fa Fix the non pic version too. 1998-10-16 14:11:53 +00:00
christos
3d8121f3df PR/6285: Tom Ivar Helbekkmo: sigsetjmp/siglongjmp broken after current signal
changes.
1998-10-16 13:28:39 +00:00
kleink
d541ca6d80 Need internal names for isinf() and isnan(). 1998-10-13 14:43:36 +00:00
matt
c1d0053032 PICify. (e.g. change movl $sym, rX to movab sym, rX) 1998-10-13 00:02:19 +00:00
matt
592306e323 Use __sigprocmask14, fix a few more bugs 1998-10-10 01:50:23 +00:00
matt
99d642287b Actually build __setjmp.S/__sigsetjmp.S for vax. PICifiy the setjmp code.
Fix libm Makefile to handle obj directories.
1998-10-10 00:08:50 +00:00
eeh
aba7891e3d Fix libc signal breakage (I hope). 1998-10-08 02:27:58 +00:00
kleink
ad0a7279e9 Add *__errno() redirection for _REENTRANT code. Also, some movel vs. movl
consistency.
1998-10-06 19:05:26 +00:00
kleink
9849eb57f8 Declare one of {__errno,errno}, depending on _REENTRANT. 1998-10-06 18:56:25 +00:00
thorpej
4359863000 Update for signal changes. 1998-10-05 02:34:18 +00:00
tsubai
00b455d632 New signal stuff for PowerPC. 1998-10-03 12:30:37 +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