summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/bits/syscalls.h
Commit message (Collapse)AuthorAgeFilesLines
* mips: do not save variables in "hi" or "lo" across system callsDaniel Jacobowitz2009-10-171-2/+2
| | | | | | | | | | The kernel does not save these registers across system calls. GCC 4.4 has gotten more aggressive about using them for temporary variables, so this shows up as intermittent crashes if you use a recent compiler. Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-091-2/+2
| | | | | | | | Declare common NCS (non-constant syscall) variants and convert the existing ports over to this. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: unify common syscall definesMike Frysinger2009-07-091-67/+0
| | | | | | | | | | Unify all the common syscall defines in syscalls-common.h and scrub all the duplicated code from relevant ports. This should also make converting existing ports to INLINE_SYSCALL() much easier as they don't have to get lost in all the unrelated noise, as well as creating new ports. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-311-1/+1
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch libc mips specific with trunkCarmelo Amoroso2008-06-181-220/+343
|
* Well, this is everything for my NPTL implementation. The 'uClibc-nptl' ↵"Steven J. Hill"2006-08-241-9/+6
| | | | branch is now the exact code that I have. I am going to re-run tests now to verify everything one more time. The next step after that is to merge from trunk with the latest stuff from Mike and Peter.
* Clean up the 'sysdep.h' header chain. Other architectures will have their ↵"Steven J. Hill"2006-02-051-5/+11
| | | | own 'sysdep.h' file in the various NPTL threads directories. Clean up other files having to do with the usage of it.
* Clean up '_res' such that it will now work for, NPTL, linuxthreads and"Steven J. Hill"2006-01-151-7/+0
| | | | | even no threads. Fix 'pthread_atfork' function and clean up duplicate of '__set_errno' that is not needed.
* Merge from trunk."Steven J. Hill"2006-01-141-16/+11
|
* And finally, make 'errno' and TLS variable. The TLS conversion of errno, ↵"Steven J. Hill"2006-01-051-1/+5
| | | | h_errno and __resp was a real challenge. I am glad that is over with.
* Further rework the mips syscallsEric Andersen2005-04-131-183/+221
|
* Cleanup the mips syscalls a bit more, and fix a fewEric Andersen2005-04-011-34/+34
| | | | annoying warnings.
* Make mips/mipsel syscalls no longer complain about the "use of memory inputEric Andersen2005-03-141-6/+12
| | | | without lvalue in asm". Give the asm an lvalue so it can be happy.
* Atsushi Nemoto writes:Eric Andersen2004-10-191-8/+8
| | | | | | | | | In a recent post to linux-mips ML (and libc-alpha ML), a problem with inline syscalls was reported. http://www.linux-mips.org/archives/linux-mips/2004-10/msg00142.html It seems uClibc should be fixed also for newer gcc. Here is a patch.
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-051-2/+2
|
* Cleanup error returns to avoid warningsEric Andersen2002-08-091-8/+8
| | | | -Erik
* The __set_errno macro _must_ match that defined in include/bits/errno.h. WeEric Andersen2002-07-261-1/+9
| | | | | | | can't tack in the return -1 since then when people include errno.h, the return -1 mysteriously vanishes... Setting the __set_errno back and restoring the 'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again. -Erik
* ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"2002-07-251-5/+214
|
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-4/+8
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* Be consistant about the ways in which asm/unistd.h mightEric Andersen2002-02-041-220/+6
| | | | | | be included to avoid gratuitous conflicts... This is a hack till we have proper _syscall macros for all archs. -Erik
* Add in syscalls.h for mipsel, thanks to Steven J. Hill.Eric Andersen2002-02-011-0/+224
Remove and ignore generated syscall.h files from sparc and mipsel.