about summary refs log tree commit diff
path: root/src/internal/aarch64/syscall.s
blob: 845986bf787bfe39be6cd9f04005461f93019de9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.global __syscall
.hidden __syscall
.type __syscall,%function
__syscall:
	uxtw x8,w0
	mov x0,x1
	mov x1,x2
	mov x2,x3
	mov x3,x4
	mov x4,x5
	mov x5,x6
	mov x6,x7
	svc 0
	ret