summaryrefslogtreecommitdiff
path: root/src/internal/aarch64/syscall.s
blob: 48fac924498726066df1c960c8686a49fa7c0426 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
.global __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