Sign in
cobalt
/
cobalt
/
788710a0d7b1b8d8e2340dd5fad5e8783a239862
/
.
/
third_party
/
musl
/
arch
/
m68k
/
pthread_arch.h
blob: 5bea4e1adc1090cd32c1d9ac10d50cb6242b629c [
file
] [
log
] [
blame
]
static
inline
uintptr_t
__get_tp
()
{
return
__syscall
(
SYS_get_thread_area
);
}
#define
TLS_ABOVE_TP
#define
GAP_ABOVE_TP
0
#define
TP_OFFSET
0x7000
#define
DTP_OFFSET
0x8000
#define
MC_PC gregs
[
R_PC
]