musl/include/sys
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
..
epoll.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
file.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
inotify.h fix typo in inotify structure 2011-02-20 16:21:39 -05:00
ioctl.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ipc.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
kd.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
klog.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
mman.h namespace cleanup in sys/mman.h 2011-03-03 00:32:15 -05:00
mount.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
msg.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
param.h make sys/param.h not depend on PATH_MAX and NAME_MAX 2011-02-20 00:28:10 -05:00
poll.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
prctl.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
procfs.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ptrace.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
reboot.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
reg.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
resource.h prototype wait3 and wait4 2011-02-19 02:26:11 -05:00
select.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
sem.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
sendfile.h various legacy and linux-specific stuff 2011-03-18 21:52:26 -04:00
shm.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
signalfd.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
socket.h extensive header cleanup for standards conformance & correctness 2011-02-14 18:41:25 -05:00
soundcard.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
stat.h fcntl.h should make availabel the mode constants from sys/stat.h 2011-03-08 12:35:35 -05:00
statfs.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
statvfs.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
stropts.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
swap.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
syscall.h overhaul syscall interface 2011-03-19 18:51:42 -04:00
sysctl.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
sysinfo.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
sysmacros.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
time.h cleanup namespace in sys/time.h 2011-02-27 03:48:19 -05:00
times.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
timex.h various legacy and linux-specific stuff 2011-03-18 21:52:26 -04:00
types.h remove some old cruft from sys/types.h 2011-03-14 11:49:17 -04:00
ucontext.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
uio.h extensive header cleanup for standards conformance & correctness 2011-02-14 18:41:25 -05:00
un.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
user.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
utsname.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
vfs.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
vt.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wait.h prototype wait3 and wait4 2011-02-19 02:26:11 -05:00