blob: 004ddfef911ff37c6f562625ac58ebb312bb8d48 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.global __syscall
.hidden __syscall
.type __syscall,@function
__syscall:
push %ebx
push %esi
push %edi
push %ebp
mov 20(%esp),%eax
mov 24(%esp),%ebx
mov 28(%esp),%ecx
mov 32(%esp),%edx
mov 36(%esp),%esi
mov 40(%esp),%edi
mov 44(%esp),%ebp
call *%gs:16
pop %ebp
pop %edi
pop %esi
pop %ebx
ret
|