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