From a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 21 Oct 2008 07:00:00 -0700 Subject: Initial Contribution --- libc/arch-arm/syscalls/nanosleep.S | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libc/arch-arm/syscalls/nanosleep.S (limited to 'libc/arch-arm/syscalls/nanosleep.S') diff --git a/libc/arch-arm/syscalls/nanosleep.S b/libc/arch-arm/syscalls/nanosleep.S new file mode 100644 index 0000000..1f9b181 --- /dev/null +++ b/libc/arch-arm/syscalls/nanosleep.S @@ -0,0 +1,19 @@ +/* autogenerated by gensyscalls.py */ +#include + + .text + .type nanosleep, #function + .globl nanosleep + .align 4 + .fnstart + +nanosleep: + .save {r4, r7} + stmfd sp!, {r4, r7} + ldr r7, =__NR_nanosleep + swi #0 + ldmfd sp!, {r4, r7} + movs r0, r0 + bxpl lr + b __set_syscall_errno + .fnend -- cgit v1.1