Sign in
cobalt
/
cobalt
/
refs/tags/20.lts.4
/
.
/
src
/
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