OSDN Git Service

[MIPS] Reimplement syscall to invoke the system call directly
authorChris Dearman <chris.dearman@imgtec.com>
Wed, 13 Nov 2013 22:15:31 +0000 (14:15 -0800)
committerElliott Hughes <enh@google.com>
Fri, 15 Nov 2013 00:53:15 +0000 (16:53 -0800)
commiteffaa7824da1af4db5cef50c78079d4c4e1717a7
tree75fd1cad053bece3b7df4c45e26e16a36c2de737
parentae5c3dd73844e6a9e1a14dbf893eab5142902f18
[MIPS] Reimplement syscall to invoke the system call directly

Some MIPS kernels do not correctly restart interrupted system calls that
have been invoked using the indirect syscall (NR_syscall).

The simplest workaround is to handle the indirection in userland and then
call the required system call directly.

Change-Id: I8385399621529db9a52b463c96925f6decaaca30
libc/SYSCALLS.TXT
libc/arch-mips/bionic/syscall.S [new file with mode: 0644]
libc/arch-mips/mips.mk
libc/arch-mips/syscalls.mk
libc/arch-mips/syscalls/syscall.S [deleted file]