1 2 3 4 5 6 7
static inline struct pthread *__pthread_self() { return ((void *(*)(void))0xffff0fe0)(); } #define CANCEL_REG_SP 16 #define CANCEL_REG_IP 18