summaryrefslogtreecommitdiff
path: root/arch/arm/bits/syscall.h
AgeCommit message (Collapse)AuthorFilesLines
2013-04-01add syscall numbers for the new kcmp and finit_module syscallsSzabolcs Nagy1-0/+4
and remove syscall todos from microblaze
2012-09-08syscall organization overhaulRich Felker1-191/+0
now public syscall.h only exposes __NR_* and SYS_* constants and the variadic syscall function. no macros or inline functions, no __syscall_ret or other internal details, no 16-/32-bit legacy syscall renaming, etc. this logic has all been moved to src/internal/syscall.h with the arch-specific parts in arch/$(ARCH)/syscall_arch.h, and the amount of arch-specific stuff has been reduced to a minimum. changes still need to be reviewed/double-checked. minimal testing on i386 and mips has already been performed.
2012-09-02avoid "inline" in public headers for strict c89 compatibilityRich Felker1-7/+7
while musl itself requires a c99 compiler, some applications insist on being compiled with c89 compilers, and use of "inline" in the headers was breaking them. much of this had been avoided already by just skipping the inline keyword in pre-c99 compilers or modes, but this new unified solution is cleaner and may/should result in better code generation in the default gcc configuration.
2012-08-09add defines for number of sigset_t bytes syscalls expectRich Felker1-0/+2
yet another gratuitous mips incompatibility...
2012-07-08make arm syscalls (still non-inline) more efficientRich Felker1-6/+6
no need to pass zero for unused arguments; just omit them.
2012-06-23update syscall defs to latest kernel onesRich Felker1-0/+4
patch submitted by Kristian L. <email@thexception.net>
2012-05-24fix arm syscall.h to reflect which syscalls actually exist (on EABI)Rich Felker1-22/+0
2011-09-21update syscalls with off_t arguments to handle argument alignment, if neededRich Felker1-1/+2
the arm syscall abi requires 64-bit arguments to be aligned on an even register boundary. these new macros facilitate meeting the abi requirement without imposing significant ugliness on the code.
2011-09-18initial commit of the arm portRich Felker1-0/+876
this port assumes eabi calling conventions, eabi linux syscall convention, and presence of the kernel helpers at 0xffff0f?0 needed for threads support. otherwise it makes very few assumptions, and the code should work even on armv4 without thumb support, as well as on systems with thumb interworking. the bits headers declare this a little endian system, but as far as i can tell the code should work equally well on big endian. some small details are probably broken; so far, testing has been limited to qemu/aboriginal linux.