musl/arch/i386/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 preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
errno.h fix missing ENOTSUP error code 2011-03-11 09:50:54 -05:00
fcntl.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
fenv.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
float.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
in.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
ioctl.h cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
ipc.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
limits.h fix the types of some integer constant limits in headers 2011-02-15 19:15:45 -05:00
mman.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
posix.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
pthread.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
reg.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
setjmp.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
shm.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
signal.h make sigaltstack work (missing macros in signal.h, error conditions) 2011-03-10 10:17:29 -05:00
socket.h resolve some header namespace non-issues 2011-02-20 02:44:52 -05:00
stat.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
statfs.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
stdarg.h split off arch-specific stdarg.h stuff 2011-02-15 05:06:15 -05:00
stdint.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
syscall.h overhaul syscall interface 2011-03-19 18:51:42 -04:00
sysmacros.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
tcp.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
termios.h various legacy and linux-specific stuff 2011-03-18 21:52:26 -04:00
user.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
wait.h preparing build system to handle ports - step 1 2011-02-15 00:33:23 -05:00
wexitstatus.h add missing WIFCONTINUED macro and improve WIFSIGNALED 2011-02-19 02:23:29 -05:00