mailing list of musl libc
 help / color / mirror / code / Atom feed
55575e359b87bda717dfc78f820a095361781328 blob 626 bytes (raw)

 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
 
# __syscall_cp_asm(&self->cancel, nr, u, v, w, x, y, z)
#                  a2             a3  a4 a5 a6 a7 [sp] [sp+4]

# syscall(nr, u, v, w, x, y, z)
#         a2  a6 a3 a4 a5 a8 a9

.global __cp_begin
.hidden __cp_begin
.global __cp_end
.hidden __cp_end
.global __cp_cancel
.hidden __cp_cancel
.hidden __cancel
.global __syscall_cp_asm
.hidden __syscall_cp_asm
.type __syscall_cp_asm,@function
.align 4
__syscall_cp_asm:
__cp_begin:
	l32i	a2, a2, 0
	bnez	a2, __cp_cancel
	mov	a2, a4
	mov	a4, a6
	mov	a6, a2
	mov	a2, a3
	mov	a3, a5
	mov	a5, a7
	l32i	a8, a1, 0
	l32i	a9, a1, 4
	syscall
__cp_end:
	ret
__cp_cancel:
	j	__cancel
debug log:

solving 55575e359b87 ...
found 55575e359b87 in https://inbox.vuxu.org/musl/20240328200319.4016902-2-jcmvbkbc@gmail.com/ ||
	https://inbox.vuxu.org/musl/20240506180112.1045944-2-jcmvbkbc@gmail.com/

applying [1/2] https://inbox.vuxu.org/musl/20240328200319.4016902-2-jcmvbkbc@gmail.com/
diff --git a/src/thread/xtensa/syscall_cp.s b/src/thread/xtensa/syscall_cp.s
new file mode 100644
index 000000000000..55575e359b87

Checking patch src/thread/xtensa/syscall_cp.s...
Applied patch src/thread/xtensa/syscall_cp.s cleanly.

skipping https://inbox.vuxu.org/musl/20240506180112.1045944-2-jcmvbkbc@gmail.com/ for 55575e359b87
index at:
100644 55575e359b87bda717dfc78f820a095361781328	src/thread/xtensa/syscall_cp.s

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).