| 1 |
static inline uintptr_t __get_tp(); |
| 2 |
|
| 3 |
#ifndef __CCGO__ |
| 4 |
static inline uintptr_t __get_tp() |
| 5 |
{ |
| 6 |
uintptr_t tp; |
| 7 |
__asm__ ("mrs %0,tpidr_el0" : "=r"(tp)); |
| 8 |
return tp; |
| 9 |
} |
| 10 |
#endif |
| 11 |
|
| 12 |
#define TLS_ABOVE_TP |
| 13 |
#define GAP_ABOVE_TP 16 |
| 14 |
|
| 15 |
#define MC_PC pc |