blob: 45f066425eb299f69cf87ffcffb90ad2452989a9 [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 shutdown, @function
6 .globl shutdown
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -07007 .align 4
8
The Android Open Source Project4e468ed2008-12-17 18:03:48 -08009shutdown:
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -070010 pushl %ebx
11 pushl %ecx
The Android Open Source Project4e468ed2008-12-17 18:03:48 -080012 mov $13, %ebx
13 mov %esp, %ecx
14 addl $12, %ecx
15 movl $__NR_socketcall, %eax
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -070016 int $0x80
17 cmpl $-129, %eax
18 jb 1f
19 negl %eax
20 pushl %eax
21 call __set_errno
22 addl $4, %esp
23 orl $-1, %eax
241:
25 popl %ecx
26 popl %ebx
27 ret