summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/syscalls.h
AgeCommit message (Collapse)Author
2009-07-09syscall: unify part 2: NCS varietyMike Frysinger
Declare common NCS (non-constant syscall) variants and convert the existing ports over to this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-08syscall: unify common syscall definesMike Frysinger
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>
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2007-02-15Atsushi Nemoto writes:Mike Frysinger
When I imported INLINE_SYSCALL, etc. from glibc, I just copied whole macros for each ABI. Actually, except for argument type (long vs. long long), internal_syscall[0-4] are identical for all ABI, and internal_syscall[5-6] for N32/N64 are identical for N32/N64. And I just disabled FORCE_FRAME_POINTER since it had caused build failure, but including <alloca.h> can solve it. Here is a patch to handle these issues, plus asm/__asm__ and volatile/__volatile__ conversion. Thanks for Peter S. Mazinger who did basic work of this cleanup.
2007-02-11Atsushi Nemoto writes:Mike Frysinger
This patch imports INLINE_SYSCALL, etc. from glibc-2.5 ports and implements _syscall[0-7] by using them, like arm and powerpc. I think this patch does not change functionality, but gives better __SYSCALL_CLOBBERS for N32/N64.
2006-12-08Take Mike Frysinger's comments into account -- make certain that userEric Andersen
applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
The mips64 N32/N64 ABI can pass much arguments via registers.
2006-08-23sync with psm: update errno handling to be the same on all archesMike Frysinger
2006-01-05sync __SYSCALL_CLOBBERS macro from glibcMike Frysinger
2005-04-13Further rework the mips syscallsEric Andersen
2005-04-01Cleanup the mips syscalls a bit more, and fix a fewEric Andersen
annoying warnings.
2005-03-14Make mips/mipsel syscalls no longer complain about the "use of memory inputEric Andersen
without lvalue in asm". Give the asm an lvalue so it can be happy.
2004-10-19Atsushi Nemoto writes:Eric Andersen
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.
2002-09-05Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader
2002-08-09Cleanup error returns to avoid warningsEric Andersen
-Erik
2002-07-26The __set_errno macro _must_ match that defined in include/bits/errno.h. WeEric Andersen
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
2002-07-25ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
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
2002-02-04Be consistant about the ways in which asm/unistd.h mightEric Andersen
be included to avoid gratuitous conflicts... This is a hack till we have proper _syscall macros for all archs. -Erik
2002-02-01Add in syscalls.h for mipsel, thanks to Steven J. Hill.Eric Andersen
Remove and ignore generated syscall.h files from sparc and mipsel.