The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 1 | /* autogenerated by gensyscalls.py */ |
2 | #include <sys/linux-syscalls.h> | ||||
3 | |||||
4 | .text | ||||
5 | .type getpid, #function | ||||
6 | .globl getpid | ||||
7 | .align 4 | ||||
8 | .fnstart | ||||
9 | |||||
10 | getpid: | ||||
11 | .save {r4, r7} | ||||
12 | stmfd sp!, {r4, r7} | ||||
13 | ldr r7, =__NR_getpid | ||||
14 | swi #0 | ||||
15 | ldmfd sp!, {r4, r7} | ||||
16 | movs r0, r0 | ||||
17 | bxpl lr | ||||
18 | b __set_syscall_errno | ||||
19 | .fnend |