aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/alpha/sys
Commit message (Collapse)AuthorAgeFilesLines
* Remove alpha left-overs.Ruslan Ermilov2006-08-2211-449/+0
| | | | Notes: svn path=/head/; revision=161526
* Fix wrong identifier on .end directive. The SYSCALL macro does nameMarcel Moolenaar2003-08-164-4/+4
| | | | | | | mangling and creates an .ent directive with the mangled name. Notes: svn path=/head/; revision=118997
* Add the mlockall() and munlockall() system calls.Bruce M Simpson2003-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 Notes: svn path=/head/; revision=118771
* Use __FBSDID.David E. O'Brien2003-01-1910-12/+31
| | | | Notes: svn path=/head/; revision=109501
* Generate the normal asm stubs for all sysv system calls. Use these insteadJake Burkholder2002-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 Notes: svn path=/head/; revision=97191
* Our default syscall.S is identical to what was explicitly being done forDavid E. O'Brien2002-05-152-33/+1
| | | | | | | Alpha and IA-64. So there is no need for special handling. Notes: svn path=/head/; revision=96694
* Clean up syscall generation in libc by removing HIDDEN_SYSCALLSDaniel Eischen2001-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 Notes: svn path=/head/; revision=71770
* Comment only change; s/_thread_sys_/__sys_/Daniel Eischen2001-01-261-2/+2
| | | | Notes: svn path=/head/; revision=71663
* Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen2001-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 Notes: svn path=/head/; revision=71579
* Remove last vestiges of thr_sleep and thr_wakeup from libc.Jake Burkholder2000-12-021-1/+1
| | | | Notes: svn path=/head/; revision=69515
* Not needed now the syscall matches the prototype.Marcel Moolenaar1999-10-123-117/+0
| | | | Notes: svn path=/head/; revision=52151
* Remove old sig* wrappers.Doug Rabson1999-10-091-2/+1
| | | | Notes: svn path=/head/; revision=52056
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Just return `curbrk' for sbrk(0) to avoid syscall overhead.Hidetoshi Shimokawa1999-06-261-0/+2
| | | | Notes: svn path=/head/; revision=48253
* Add wrappers for pread and pwrite syscalls.Dmitrij Tejblum1999-04-041-3/+3
| | | | Notes: svn path=/head/; revision=45313
* Rename when building libc_r.Doug Rabson1999-03-251-2/+2
| | | | Notes: svn path=/head/; revision=45037
* [This is a null commit to supply the correct log entry]Doug Rabson1998-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. Notes: svn path=/head/; revision=42030
* Implement fpsetmask() and other fp*() functions. Programs should useDoug Rabson1998-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> Notes: svn path=/head/; revision=42029
* In libc_r, rename vfork syscall to _thread_sys_vfork and make vfork an aliasDmitrij Tejblum1998-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. Notes: svn path=/head/; revision=39118
* Remove support for NetBSD syscalls.John Birrell1998-08-171-6/+1
| | | | Notes: svn path=/head/; revision=38376
* If using FreeBSD syscalls, handle the syscalls that don't requireJohn Birrell1998-08-081-1/+11
| | | | | | | default asm code the same way as on i386. Notes: svn path=/head/; revision=38182
* Make this thread-safe in both libc as well as libc_r.John Birrell1998-06-091-13/+2
| | | | Notes: svn path=/head/; revision=36823
* Rename when building libc_r.John Birrell1998-06-095-9/+9
| | | | Notes: svn path=/head/; revision=36822
* Import sources from NetBSD, tweaked for building in FreeBSD.John Birrell1998-03-0915-0/+579
Notes: svn path=/cvs2svn/branches/JB/; revision=34375