Searched refs:th_ctx (Results 1 – 11 of 11) sorted by relevance
73 sig_ctx->s0 = th_ctx->s0; in NaClThreadContextToSignalContext()74 sig_ctx->s1 = th_ctx->s1; in NaClThreadContextToSignalContext()75 sig_ctx->s2 = th_ctx->s2; in NaClThreadContextToSignalContext()76 sig_ctx->s3 = th_ctx->s3; in NaClThreadContextToSignalContext()77 sig_ctx->s4 = th_ctx->s4; in NaClThreadContextToSignalContext()78 sig_ctx->s5 = th_ctx->s5; in NaClThreadContextToSignalContext()79 sig_ctx->s6 = th_ctx->s6; in NaClThreadContextToSignalContext()80 sig_ctx->s7 = th_ctx->s7; in NaClThreadContextToSignalContext()81 sig_ctx->t8 = th_ctx->t8; in NaClThreadContextToSignalContext()86 sig_ctx->stack_ptr = th_ctx->stack_ptr; in NaClThreadContextToSignalContext()[all …]
68 static INLINE uintptr_t NaClGetThreadCtxSp(struct NaClThreadContext *th_ctx) { in NaClGetThreadCtxSp() argument69 return th_ctx->stack_ptr; in NaClGetThreadCtxSp()
137 sig_ctx->ebx = th_ctx->ebx; in NaClThreadContextToSignalContext()138 sig_ctx->stack_ptr = th_ctx->stack_ptr; in NaClThreadContextToSignalContext()139 sig_ctx->ebp = th_ctx->frame_ptr; in NaClThreadContextToSignalContext()140 sig_ctx->esi = th_ctx->esi; in NaClThreadContextToSignalContext()141 sig_ctx->edi = th_ctx->edi; in NaClThreadContextToSignalContext()144 sig_ctx->cs = th_ctx->cs; in NaClThreadContextToSignalContext()145 sig_ctx->ss = th_ctx->ss; in NaClThreadContextToSignalContext()146 sig_ctx->ds = th_ctx->ds; in NaClThreadContextToSignalContext()147 sig_ctx->es = th_ctx->es; in NaClThreadContextToSignalContext()148 sig_ctx->fs = th_ctx->fs; in NaClThreadContextToSignalContext()[all …]
179 static INLINE uintptr_t NaClGetThreadCtxSp(struct NaClThreadContext *th_ctx) { in NaClGetThreadCtxSp() argument180 return th_ctx->stack_ptr; in NaClGetThreadCtxSp()
65 void NaClThreadContextToSignalContext(const struct NaClThreadContext *th_ctx, in NaClThreadContextToSignalContext() argument71 sig_ctx->r4 = th_ctx->r4; in NaClThreadContextToSignalContext()72 sig_ctx->r5 = th_ctx->r5; in NaClThreadContextToSignalContext()73 sig_ctx->r6 = th_ctx->r6; in NaClThreadContextToSignalContext()74 sig_ctx->r7 = th_ctx->r7; in NaClThreadContextToSignalContext()75 sig_ctx->r8 = th_ctx->r8; in NaClThreadContextToSignalContext()76 sig_ctx->r9 = th_ctx->r9; in NaClThreadContextToSignalContext()77 sig_ctx->r10 = th_ctx->r10; in NaClThreadContextToSignalContext()78 sig_ctx->r11 = th_ctx->fp; in NaClThreadContextToSignalContext()80 sig_ctx->stack_ptr = th_ctx->stack_ptr; in NaClThreadContextToSignalContext()[all …]
70 static INLINE uintptr_t NaClGetThreadCtxSp(struct NaClThreadContext *th_ctx) { in NaClGetThreadCtxSp() argument71 return th_ctx->stack_ptr; in NaClGetThreadCtxSp()
94 void NaClThreadContextToSignalContext(const struct NaClThreadContext *th_ctx, in NaClThreadContextToSignalContext() argument97 sig_ctx->rbx = th_ctx->rbx; in NaClThreadContextToSignalContext()102 sig_ctx->rbp = th_ctx->rbp; in NaClThreadContextToSignalContext()103 sig_ctx->stack_ptr = th_ctx->rsp; in NaClThreadContextToSignalContext()108 sig_ctx->r12 = th_ctx->r12; in NaClThreadContextToSignalContext()109 sig_ctx->r13 = th_ctx->r13; in NaClThreadContextToSignalContext()110 sig_ctx->r14 = th_ctx->r14; in NaClThreadContextToSignalContext()111 sig_ctx->r15 = th_ctx->r15; in NaClThreadContextToSignalContext()112 sig_ctx->prog_ctr = th_ctx->new_prog_ctr; in NaClThreadContextToSignalContext()
82 static INLINE uintptr_t NaClGetThreadCtxSp(struct NaClThreadContext *th_ctx) { in NaClGetThreadCtxSp() argument83 return th_ctx->rsp; in NaClGetThreadCtxSp()
183 thread->th_ctx.outs[6] = (unsigned int) bodysp; in leonbare_thread_create()184 thread->th_ctx.outs[7] = (int) _leonbare_thread_body; in leonbare_thread_create()185 thread->th_ctx.outs[7] -= 8; in leonbare_thread_create()186 thread->th_ctx.sf_ins[6] = (unsigned int) bodyfp; in leonbare_thread_create()187 thread->th_ctx.fpu = (unsigned int) fpspill; in leonbare_thread_create()188 thread->th_ctx.magic = LEONBARE_THREAD_CTX_MAGIC; in leonbare_thread_create()190 thread->th_ctx.psr = 0x0e0; in leonbare_thread_create()191 thread->th_ctx.wim = 0x2; in leonbare_thread_create()
30 uintptr_t NaClGetThreadCtxSp(struct NaClThreadContext *th_ctx);32 void NaClThreadContextToSignalContext(const struct NaClThreadContext *th_ctx,
185 struct leonbare_thread_ctx th_ctx; member