xref: /third_party/musl/src/thread/aarch64/syscall_cp.s
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/thread/aarch64/
1570af302Sopenharmony_ci// __syscall_cp_asm(&self->cancel, nr, u, v, w, x, y, z)
2570af302Sopenharmony_ci//                  x0             x1  x2 x3 x4 x5 x6 x7
3570af302Sopenharmony_ci
4570af302Sopenharmony_ci// syscall(nr, u, v, w, x, y, z)
5570af302Sopenharmony_ci//         x8  x0 x1 x2 x3 x4 x5
6570af302Sopenharmony_ci
7570af302Sopenharmony_ci.global __cp_begin
8570af302Sopenharmony_ci.hidden __cp_begin
9570af302Sopenharmony_ci.global __cp_end
10570af302Sopenharmony_ci.hidden __cp_end
11570af302Sopenharmony_ci.global __cp_cancel
12570af302Sopenharmony_ci.hidden __cp_cancel
13570af302Sopenharmony_ci.hidden __cancel
14570af302Sopenharmony_ci.global __syscall_cp_asm
15570af302Sopenharmony_ci.hidden __syscall_cp_asm
16570af302Sopenharmony_ci.type __syscall_cp_asm,%function
17570af302Sopenharmony_ci__syscall_cp_asm:
18570af302Sopenharmony_ci__cp_begin:
19570af302Sopenharmony_ci	ldr w0,[x0]
20570af302Sopenharmony_ci	cbnz w0,__cp_cancel
21570af302Sopenharmony_ci	mov x8,x1
22570af302Sopenharmony_ci	mov x0,x2
23570af302Sopenharmony_ci	mov x1,x3
24570af302Sopenharmony_ci	mov x2,x4
25570af302Sopenharmony_ci	mov x3,x5
26570af302Sopenharmony_ci	mov x4,x6
27570af302Sopenharmony_ci	mov x5,x7
28570af302Sopenharmony_ci	svc 0
29570af302Sopenharmony_ci__cp_end:
30570af302Sopenharmony_ci	ret
31570af302Sopenharmony_ci__cp_cancel:
32570af302Sopenharmony_ci	b __cancel
33

Indexes created Thu Nov 07 10:32:03 CST 2024