blob: 2d424c693f8a1b2da4b91c9159feda5fa5eef35d [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughesed744842013-11-07 10:31:05 -08003#include <private/bionic_asm.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08004
Elliott Hughes11952072013-10-24 15:15:14 -07005ENTRY(__epoll_pwait)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08006 pushl %ebx
7 pushl %ecx
8 pushl %edx
9 pushl %esi
10 pushl %edi
Elliott Hughes11952072013-10-24 15:15:14 -070011 pushl %ebp
12 mov 28(%esp), %ebx
13 mov 32(%esp), %ecx
14 mov 36(%esp), %edx
15 mov 40(%esp), %esi
16 mov 44(%esp), %edi
17 mov 48(%esp), %ebp
18 movl $__NR_epoll_pwait, %eax
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080019 int $0x80
Elliott Hughes9aceab52013-03-12 14:57:30 -070020 cmpl $-MAX_ERRNO, %eax
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021 jb 1f
22 negl %eax
23 pushl %eax
24 call __set_errno
25 addl $4, %esp
26 orl $-1, %eax
271:
Elliott Hughes11952072013-10-24 15:15:14 -070028 popl %ebp
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029 popl %edi
30 popl %esi
31 popl %edx
32 popl %ecx
33 popl %ebx
34 ret
Elliott Hughes11952072013-10-24 15:15:14 -070035END(__epoll_pwait)