musl/arch/x86_64/bits
Rich Felker d00ff2950e overhaul syscall interface
this commit shuffles around the location of syscall definitions so
that we can make a syscall() library function with both SYS_* and
__NR_* style syscall names available to user applications, provides
the syscall() library function, and optimizes the code that performs
the actual inline syscalls in the library itself.

previously on i386 when built as PIC (shared library), syscalls were
incurring bus lock (lock prefix) overhead at entry and exit, due to
the way the ebx register was being loaded (xchg instruction with a
memory operand). now the xchg takes place between two registers.

further cleanup to arch/$(ARCH)/syscall.h is planned.
2011-03-19 18:51:42 -04:00
..
alltypes.h.sh match dimensions so we can use all slots without invoking OOB-array-access 2011-03-11 10:02:17 -05:00
endian.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
errno.h fix missing ENOTSUP error code 2011-03-11 09:50:54 -05:00
fcntl.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
fenv.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
float.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
in.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
ioctl.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
ipc.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
limits.h protect some limit constants with feature test macros on x86_64 2011-02-15 19:16:37 -05:00
mman.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
posix.h fix x86_64 wrongly reporting itself as ILP32 instead of LP64 2011-02-15 15:56:58 -05:00
pthread.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
reg.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
setjmp.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
shm.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
signal.h make sigaltstack work (missing macros in signal.h, error conditions) 2011-03-10 10:17:29 -05:00
socket.h Update x86_64 bits to mirror (modulo platform differences) the latest changes 2011-02-15 08:02:33 -05:00
stat.h Update x86_64 bits to mirror (modulo platform differences) the latest changes 2011-02-15 08:02:33 -05:00
statfs.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
stdarg.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
stdint.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
syscall.h overhaul syscall interface 2011-03-19 18:51:42 -04:00
sysmacros.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
tcp.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
termios.h various legacy and linux-specific stuff 2011-03-18 21:52:26 -04:00
user.h Port musl to x86-64. One giant commit! 2011-02-15 07:32:09 -05:00
wait.h Update x86_64 bits to mirror (modulo platform differences) the latest changes 2011-02-15 08:02:33 -05:00
wexitstatus.h add missing WIFCONTINUED macro and improve WIFSIGNALED 2011-02-19 02:23:29 -05:00