Lines Matching refs:CONTEXT
102 #define CONTEXT(_thread) (&(_thread)->md.context)
193 _GETCONTEXT(CONTEXT(thread)); \
195 CONTEXT(thread)->uc_stack.ss_sp = thread->stack->stackBottom; \
196 CONTEXT(thread)->uc_stack.ss_size = thread->stack->stackSize; \
197 CONTEXT(thread)->uc_mcontext.gpregs[CXT_SP] = ((unsigned long)_sp - 128) & 0xfffffff8; \
198 CONTEXT(thread)->uc_mcontext.gpregs[CXT_T9] = _main; \
199 CONTEXT(thread)->uc_mcontext.gpregs[CXT_EPC] = _main; \
200 CONTEXT(thread)->uc_mcontext.gpregs[CXT_RA] = 0; \
209 if (!_GETCONTEXT(CONTEXT(_thread))) { \
232 ucontext_t *uc = CONTEXT(_thread); \