/* autogenerated by gensyscalls.py */ /*#include */ #if !defined __ASM_ARM_UNISTD_H && !defined __ASM_I386_UNISTD_H #if defined __arm__ && !defined __ARM_EABI__ && !defined __thumb__ # define __NR_SYSCALL_BASE 0x900000 #else # define __NR_SYSCALL_BASE 0 #endif #endif #define __NR_ioperm (__NR_SYSCALL_BASE+101) /* refert to linux-2.6/arch/x86/include/asm/unistd_32.h */ .text .type ioperm, @function .globl ioperm .align 4 ioperm: pushl %ebx pushl %ecx pushl %edx mov 16(%esp), %ebx mov 20(%esp), %ecx mov 24(%esp), %edx movl $__NR_ioperm, %eax int $0x80 cmpl $-129, %eax jb 1f negl %eax pushl %eax call __set_errno addl $4, %esp orl $-1, %eax 1: popl %edx popl %ecx popl %ebx ret