Sign in
cobalt
/
cobalt
/
5864f47b864e8bb7b417f15981009ad93bdff2ac
/
.
/
third_party
/
musl
/
arch
/
microblaze
/
pthread_arch.h
blob: 08d1ba7db35f52d7ca507dc0e82f7bc6da21aa0b [
file
] [
log
] [
blame
]
static
inline
struct
pthread
*
__pthread_self
()
{
struct
pthread
*
self
;
__asm__ __volatile__
(
"ori %0, r21, 0"
:
"=r"
(
self
)
);
return
self
;
}
#define
TP_ADJ
(
p
)
(
p
)
#define
MC_PC regs
.
pc