~sircmpwn/hare

hare/rt/+linux/syscall+aarch64.s -rw-r--r-- 846 bytes
9ac59a70Eyal Sawady rt::clone: fix on aarch64 14 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.section .text.rt.syscall0
.global rt.syscall0
rt.syscall0:
	mov x8, x0
	svc 0
	ret

.section .text.rt.syscall1
.global rt.syscall1
rt.syscall1:
	mov x8, x0
	mov x0, x1
	svc 0
	ret

.section .text.rt.syscall2
.global rt.syscall2
rt.syscall2:
	mov x8, x0
	mov x0, x1
	mov x1, x2
	svc 0
	ret

.section .text.rt.syscall3
.global rt.syscall3
rt.syscall3:
	mov x8, x0
	mov x0, x1
	mov x1, x2
	mov x2, x3
	svc 0
	ret

.section .text.rt.syscall4
.global rt.syscall4
rt.syscall4:
	mov x8, x0
	mov x0, x1
	mov x1, x2
	mov x2, x3
	mov x3, x4
	svc 0
	ret

.section .text.rt.syscall5
.global rt.syscall5
rt.syscall5:
	mov x8, x0
	mov x0, x1
	mov x1, x2
	mov x2, x3
	mov x3, x4
	mov x4, x5
	svc 0
	ret

.section .text.rt.syscall6
.global rt.syscall6
rt.syscall6:
	mov x8, x0
	mov x0, x1
	mov x1, x2
	mov x2, x3
	mov x3, x4
	mov x4, x5
	mov x5, x6
	svc 0
	ret