Sign in
cobalt
/
cobalt
/
a7b1cfadc52288d71702934fd93743a24aea060a
/
.
/
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