summaryrefslogtreecommitdiff
path: root/arch/arm/syscall_arch.h
AgeCommit message (Collapse)AuthorLines
2012-09-15fix syscall asm constraints for arm tooRich Felker-4/+4
no problems were detected so far, but the constraints seem to have been invalid just like the mips ones.
2012-09-09inline syscall support for armRich Felker-0/+53
most pure-syscall-wrapper functions compile to the smallest/simplest code possible (save r7 ; load syscall # ; svc 0 ; restore r7 ; tail call to __syscall_ret).
2012-09-08syscall organization overhaulRich Felker-0/+41
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.