search for: sys_sparc

Displaying 2 results from an estimated 2 matches for "sys_sparc".

Did you mean: sys_sparc32
2010 Mar 14
1
klibc sparc sockets foo
...bls.S, we see at index __NR_socket (97 according to asm-sparc/unistd.h and to asm-sparc64/unistd.h) that the entry points to sys_nis_syscall. Looking in <src-2.6.26>/arch/sparc64/kernel/syscalls.S, it branches to c_sys_nis_syscall, which (<src-2.6.26>/arch/sparc64/kernel/sys_sparc.c) returns ENOSYS, the error code for non-implemented syscalls. According to my quick tests, there are 2 workarounds: 1) compile klibc to sparc64, as the 64 bits syscall table of the kernel provides the direct socket (and related) syscalls 2) patch klibc such that it uses s...
2010 Mar 14
0
[patches] klibc review unsorted patch queue
...bls.S, we see at index __NR_socket (97 according to asm-sparc/unistd.h and to asm-sparc64/unistd.h) that the entry points to sys_nis_syscall. Looking in <src-2.6.26>/arch/sparc64/kernel/syscalls.S, it branches to c_sys_nis_syscall, which (<src-2.6.26>/arch/sparc64/kernel/sys_sparc.c) returns ENOSYS, the error code for non-implemented syscalls. According to my quick tests, there are 2 workarounds: 1) compile klibc to sparc64, as the 64 bits syscall table of the kernel provides the direct socket (and related) syscalls 2) patch klibc such that it uses s...