summaryrefslogblamecommitdiff
path: root/src/internal/x86_64/syscall.s
blob: c4bee804ffa3008c6ec76aff3c4e407b4554cac4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
                 
                 
                         
          








                        
.global __syscall
.hidden __syscall
.type __syscall,@function
__syscall:
	movq %rdi,%rax
	movq %rsi,%rdi
	movq %rdx,%rsi
	movq %rcx,%rdx
	movq %r8,%r10
	movq %r9,%r8
	movq 8(%rsp),%r9
	syscall
	ret