Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: fusl/src/thread/aarch64/syscall_cp.s

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/src/thread/aarch64/clone.s ('k') | fusl/src/thread/arm/__set_thread_area.s » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // __syscall_cp_asm(&self->cancel, nr, u, v, w, x, y, z)
2 // x0 x1 x2 x3 x4 x5 x6 x7
3
4 // syscall(nr, u, v, w, x, y, z)
5 // x8 x0 x1 x2 x3 x4 x5
6
7 .global __cp_begin
8 .hidden __cp_begin
9 .global __cp_end
10 .hidden __cp_end
11 .global __cp_cancel
12 .hidden __cp_cancel
13 .hidden __cancel
14 .global __syscall_cp_asm
15 .hidden __syscall_cp_asm
16 .type __syscall_cp_asm,%function
17 __syscall_cp_asm:
18 __cp_begin:
19 ldr w0,[x0]
20 cbnz w0,__cp_cancel
21 mov x8,x1
22 mov x0,x2
23 mov x1,x3
24 mov x2,x4
25 mov x3,x5
26 mov x4,x6
27 mov x5,x7
28 svc 0
29 __cp_end:
30 ret
31 __cp_cancel:
32 b __cancel
OLDNEW
« no previous file with comments | « fusl/src/thread/aarch64/clone.s ('k') | fusl/src/thread/arm/__set_thread_area.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698