pread64.S revision 103ccde8fe2f2c8abde914a8ba736b2e9cb8d20b
1/* Generated by gensyscalls.py. Do not edit. */ 2 3#include <asm/unistd.h> 4#include <linux/err.h> 5#include <machine/asm.h> 6 7ENTRY(pread64) 8 pushl %ebx 9 pushl %ecx 10 pushl %edx 11 pushl %esi 12 pushl %edi 13 mov 24(%esp), %ebx 14 mov 28(%esp), %ecx 15 mov 32(%esp), %edx 16 mov 36(%esp), %esi 17 mov 40(%esp), %edi 18 movl $__NR_pread64, %eax 19 int $0x80 20 cmpl $-MAX_ERRNO, %eax 21 jb 1f 22 negl %eax 23 pushl %eax 24 call __set_errno 25 addl $4, %esp 26 orl $-1, %eax 271: 28 popl %edi 29 popl %esi 30 popl %edx 31 popl %ecx 32 popl %ebx 33 ret 34END(pread64) 35