mailing list of musl libc
 help / color / mirror / code / Atom feed
d471b16dd6e5fb75fa7fb2c242c6d80e2d3e5c0d blob 281 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
/* kvx uses variant I, but with the twist that tp points to the end of TCB */
static inline uintptr_t __get_tp()
{
	uintptr_t tp;
	__asm__ ("copyd %0 = $r13\n"
		 ";;"
		 : "=r" (tp));
	return tp;
}

#define MC_PC pc
#define GAP_ABOVE_TP 0
#define TLS_ABOVE_TP
#define TPOFF_K (0)
debug log:

solving d471b16d ...
found d471b16d in https://inbox.vuxu.org/musl/20220711152322.23418-1-jborne@kalray.eu/

applying [1/1] https://inbox.vuxu.org/musl/20220711152322.23418-1-jborne@kalray.eu/
diff --git a/arch/kvx/pthread_arch.h b/arch/kvx/pthread_arch.h
new file mode 100644
index 00000000..d471b16d

Checking patch arch/kvx/pthread_arch.h...
Applied patch arch/kvx/pthread_arch.h cleanly.

index at:
100644 d471b16dd6e5fb75fa7fb2c242c6d80e2d3e5c0d	arch/kvx/pthread_arch.h

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).