blob: 86d3523ec4402941ac0d231e039dfc7d5c8041e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
.section .text
.global _syscall
.type _syscall, @function
_syscall:
mov 4(%esp), %eax
mov 8(%esp), %ebx
mov %esp, %ecx
mov $_syscall_ret, %edx
mov 12(%esp), %esi
mov 16(%esp), %edi
sysenter
_syscall_ret:
ret
|