blob: 5bea4e1adc1090cd32c1d9ac10d50cb6242b629c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
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]
|