summaryrefslogtreecommitdiff
path: root/arch/i386/syscall_arch.h
AgeCommit message (Collapse)AuthorLines
2012-10-11i386 vsyscall support (vdso-provided sysenter/syscall instruction based)Rich Felker-66/+7
this doubles the performance of the fastest syscalls on the atom I tested it on; improvement is reportedly much more dramatic on worst-case cpus. cannot be used for cancellable syscalls.
2012-09-08syscall organization overhaulRich Felker-0/+136
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.