blob: 3114673cd5a33ea2b1626def3567f510b0c14f50 [file] [log] [blame]
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -07001/* autogenerated by gensyscalls.py */
2#include <sys/linux-syscalls.h>
3
4 .text
The Android Open Source Project4e468ed2008-12-17 18:03:48 -08005 .type __pread64, @function
6 .globl __pread64
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -07007 .align 4
8
The Android Open Source Project4e468ed2008-12-17 18:03:48 -08009__pread64:
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -070010 pushl %ebx
11 pushl %ecx
12 pushl %edx
13 pushl %esi
The Android Open Source Project4e468ed2008-12-17 18:03:48 -080014 pushl %edi
15 mov 24(%esp), %ebx
16 mov 28(%esp), %ecx
17 mov 32(%esp), %edx
18 mov 36(%esp), %esi
19 mov 40(%esp), %edi
20 movl $__NR_pread64, %eax
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -070021 int $0x80
22 cmpl $-129, %eax
23 jb 1f
24 negl %eax
25 pushl %eax
26 call __set_errno
27 addl $4, %esp
28 orl $-1, %eax
291:
The Android Open Source Project4e468ed2008-12-17 18:03:48 -080030 popl %edi
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -070031 popl %esi
32 popl %edx
33 popl %ecx
34 popl %ebx
35 ret