summaryrefslogtreecommitdiffstats
path: root/lib/libc/alpha/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix wrong identifier on .end directive. The SYSCALL macro does namemarcel2003-08-164-4/+4
| | | | mangling and creates an .ent directive with the mangled name.
* Add the mlockall() and munlockall() system calls.bms2003-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | - All those diffs to syscalls.master for each architecture *are* necessary. This needed clarification; the stub code generation for mlockall() was disabled, which would prevent applications from linking to this API (suggested by mux) - Giant has been quoshed. It is no longer held by the code, as the required locking has been pushed down within vm_map.c. - Callers must specify VM_MAP_WIRE_HOLESOK or VM_MAP_WIRE_NOHOLES to express their intention explicitly. - Inspected at the vmstat, top and vm pager sysctl stats level. Paging-in activity is occurring correctly, using a test harness. - The RES size for a process may appear to be greater than its SIZE. This is believed to be due to mappings of the same shared library page being wired twice. Further exploration is needed. - Believed to back out of allocations and locks correctly (tested with WITNESS, MUTEX_PROFILING, INVARIANTS and DIAGNOSTIC). PR: kern/43426, standards/54223 Reviewed by: jake, alc Approved by: jake (mentor) MFC after: 2 weeks
* Use __FBSDID.obrien2003-01-1910-12/+31
|
* Generate the normal asm stubs for all sysv system calls. Use these insteadjake2002-05-231-5/+3
| | | | | | | of C wrappers for the *sys indirect system calls. The indirect system calls are horribly broken on sparc64. Submitted by: tmm
* Our default syscall.S is identical to what was explicitly being done forobrien2002-05-152-33/+1
| | | | Alpha and IA-64. So there is no need for special handling.
* Clean up syscall generation in libc by removing HIDDEN_SYSCALLSdeischen2001-01-295-11/+16
| | | | | | | | | | | | | | and treating (almost) all system calls the same way: __sys_foo - actual syscall foo, _foo - weak definitions to __sys_foo Change PSEUDO syscalls (currently only _exit and _getlogin) to be __sys_foo (T) and _foo (W). Add $FreeBSD$ to a few files to satisfy commitprep. Suggested by: bde
* Comment only change; s/_thread_sys_/__sys_/deischen2001-01-261-2/+2
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* Remove last vestiges of thr_sleep and thr_wakeup from libc.jake2000-12-021-1/+1
|
* Not needed now the syscall matches the prototype.marcel1999-10-123-117/+0
|
* Remove old sig* wrappers.dfr1999-10-091-2/+1
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Just return `curbrk' for sbrk(0) to avoid syscall overhead.simokawa1999-06-261-0/+2
|
* Add wrappers for pread and pwrite syscalls.dt1999-04-041-3/+3
|
* Rename when building libc_r.dfr1999-03-251-2/+2
|
* [This is a null commit to supply the correct log entry]dfr1998-12-231-1/+1
| | | | | | Rename 'cerror' to '.cerror' so that programs which have a function or global variable named 'cerror' don't completely break the syscall error reporting mechanism.
* Implement fpsetmask() and other fp*() functions. Programs should usedfr1998-12-231-3/+3
| | | | | | | | | | #include <ieeefp.h> to access these functions instead of the i386 specific #include <machine/floatingpoint.h> Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* In libc_r, rename vfork syscall to _thread_sys_vfork and make vfork an aliasdt1998-09-121-2/+2
| | | | | | | to fork. It is difficult to do real vfork in libc_r, since almost every operation with file descriptsor changes _thread_fd_table and friends. popen(3) works much better with this change.
* Remove support for NetBSD syscalls.jb1998-08-171-6/+1
|
* If using FreeBSD syscalls, handle the syscalls that don't requirejb1998-08-081-1/+11
| | | | default asm code the same way as on i386.
* Make this thread-safe in both libc as well as libc_r.jb1998-06-091-13/+2
|
* Rename when building libc_r.jb1998-06-095-9/+9
|
* Import sources from NetBSD, tweaked for building in FreeBSD.jb1998-03-0915-0/+579
OpenPOWER on IntegriCloud