Debian Codegraph @

rt/+linux/syscall+x86_64.s

raw
1 .section .text.rt.syscall0
2 .global rt.syscall0
3 rt.syscall0:
4 movq %rdi, %rax
5 syscall
6 ret
7
8 .section .text.rt.syscall1
9 .global rt.syscall1
10 rt.syscall1:
11 movq %rdi, %rax
12 movq %rsi, %rdi
13 syscall
14 ret
15
16 .section .text.rt.syscall2
17 .global rt.syscall2
18 rt.syscall2:
19 movq %rdi, %rax
20 movq %rsi, %rdi
21 movq %rdx, %rsi
22 syscall
23 ret
24
25 .section .text.rt.syscall3
26 .global rt.syscall3
27 rt.syscall3:
28 movq %rdi, %rax
29 movq %rsi, %rdi
30 movq %rdx, %rsi
31 movq %rcx, %rdx
32 syscall
33 ret
34
35 .section .text.rt.syscall4
36 .global rt.syscall4
37 rt.syscall4:
38 movq %rdi, %rax
39 movq %r8, %r10
40 movq %rsi, %rdi
41 movq %rdx, %rsi
42 movq %rcx, %rdx
43 syscall
44 ret
45
46 .section .text.rt.syscall5
47 .global rt.syscall5
48 rt.syscall5:
49 movq %rdi, %rax
50 movq %r8, %r10
51 movq %rsi, %rdi
52 movq %r9, %r8
53 movq %rdx, %rsi
54 movq %rcx, %rdx
55 syscall
56 ret
57
58 .section .text.rt.syscall6
59 .global rt.syscall6
60 rt.syscall6:
61 movq %rdi, %rax
62 movq %r8, %r10
63 movq %rsi, %rdi
64 movq %r9, %r8
65 movq %rdx, %rsi
66 movq 8(%rsp), %r9
67 movq %rcx, %rdx
68 syscall
69 ret