syscall organization overhaul
authorRich Felker <dalias@aerifal.cx>
Sun, 9 Sep 2012 02:43:14 +0000 (22:43 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 9 Sep 2012 02:43:14 +0000 (22:43 -0400)
commit208eb584efbf995e0c5d92f76d5f4c08ae0054b4
tree1d2613b937b371ca2fb3a1d550758ac298a4ebb7
parentfe0260400eebb613338a720c9568c10ab4f17225
syscall organization overhaul

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.
arch/arm/bits/syscall.h
arch/arm/syscall_arch.h [new file with mode: 0644]
arch/i386/bits/syscall.h
arch/i386/syscall_arch.h [new file with mode: 0644]
arch/mips/bits/syscall.h
arch/mips/syscall_arch.h [new file with mode: 0644]
arch/x86_64/bits/syscall.h
arch/x86_64/syscall_arch.h [new file with mode: 0644]
include/sys/syscall.h
src/internal/syscall.h