summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh/bits/syscalls.h
Commit message (Collapse)AuthorAgeFilesLines
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-091-23/+0
| | | | | | | | 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-134/+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>
* Use gcc built-in defines for detecting SH cores instead ofCarmelo Amoroso2009-02-231-1/+1
| | | | | | | | | | | | | uclibc config option macros (aligning SH to all other archs). Changes applied as below: __CONFIG_SH4__ -> __SH4__ __CONFIG_SH2__ -> __sh2__ __CONFIG_SH2A__ -> __SH2A__ Note: pay attention to capital letters Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix my previous commit to use preprocessor in the right way !Carmelo Amoroso2009-02-201-1/+1
|
* Fix typo.Carmelo Amoroso2009-02-201-1/+1
|
* sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architectureCarmelo Amoroso2009-02-201-1/+1
| | | | Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
* Synch with trunk @ 24160Carmelo Amoroso2008-11-271-7/+8
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* Fixes posix_fadvise[64] functions to return the Carmelo Amoroso2008-09-181-0/+145
| | | | | | | | | | error number in case of failure instead of -1 and setting errno, according to SuSv3 (IEEE Std 1003.1 2004 edition) specification. Also refactor sysdep.h and syscalls.h moving INTERNAL_SYSCALL macro to the latter (as other archs do in uclibc). Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-091-2/+0
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Push latest libc SH4 specific implementationsCarmelo Amoroso2007-11-201-0/+2
|
* Merge from trunk."Steven J. Hill"2006-12-161-22/+28
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-241-7/+4
|
* Merge from trunk."Steven J. Hill"2005-08-091-1/+4
|
* Fix trapa value for _syscall6() to conform with new sh syscall ABI.Paul Mundt2005-05-071-1/+1
| | | | | | | | The old sh system call interface used 0x00 - 0x0f for the trapa value (number of arguments), whereas the new ABI uses the 0x10 - 0x1f range. For some reason we were using an off-by-1 trapa immediate which ended up trashing r1 in the _syscall6() case, so we fix it up..
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-051-2/+2
|
* Doh! I broke it. oops. Patch from Stefan Allius to fix it.Eric Andersen2002-08-091-1/+1
|
* I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen2002-08-081-5/+129
| | | | | | Edie C. Dost has some concerns about the perl script used to general crti.o and crtn.o and added their own versions. These versions will win since they are built last,
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-101/+10
| | | | | | 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
* Sync SH header files with glibc 2.2.4, so it can actually have a chanceEric Andersen2002-01-021-2/+104
| | | | | (at least in theory) of working. -Erik
* the minimum needed for nowDavid McCullough2001-06-271-0/+4