• R
    syscall organization overhaul · 208eb584
    Rich Felker 提交于
    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.
    208eb584
syscall_arch.h 918 字节