ctx 61 bsp/hal/arm/arch/context.c context_set(context_t ctx, int type, register_t val) ctx 66 bsp/hal/arm/arch/context.c k = &ctx->kregs; ctx 71 bsp/hal/arm/arch/context.c ctx->uregs = (struct cpu_regs *) ctx 73 bsp/hal/arm/arch/context.c k->sp = (uint32_t)ctx->uregs; ctx 76 bsp/hal/arm/arch/context.c u = ctx->uregs; ctx 98 bsp/hal/arm/arch/context.c u = ctx->uregs; ctx 104 bsp/hal/arm/arch/context.c u = ctx->uregs; ctx 112 bsp/hal/arm/arch/context.c u = ctx->uregs; ctx 153 bsp/hal/arm/arch/context.c context_save(context_t ctx) ctx 158 bsp/hal/arm/arch/context.c cur = ctx->uregs; ctx 162 bsp/hal/arm/arch/context.c ctx->saved_regs = sav; ctx 172 bsp/hal/arm/arch/context.c context_restore(context_t ctx) ctx 177 bsp/hal/arm/arch/context.c cur = ctx->uregs; ctx 178 bsp/hal/arm/arch/context.c copyin(ctx->saved_regs, cur, sizeof(*cur)); ctx 185 bsp/hal/arm/arch/context.c context_dump(context_t ctx) ctx 189 bsp/hal/arm/arch/context.c trap_dump(ctx->uregs); ctx 62 bsp/hal/ppc/arch/context.c context_set(context_t ctx, int type, register_t val) ctx 68 bsp/hal/ppc/arch/context.c k = &ctx->kregs; ctx 76 bsp/hal/ppc/arch/context.c ctx->uregs = (struct cpu_regs *) ctx 79 bsp/hal/ppc/arch/context.c k->sp = (uint32_t)ctx->uregs; ctx 83 bsp/hal/ppc/arch/context.c u = ctx->uregs; ctx 103 bsp/hal/ppc/arch/context.c u = ctx->uregs; ctx 109 bsp/hal/ppc/arch/context.c u = ctx->uregs; ctx 116 bsp/hal/ppc/arch/context.c u = ctx->uregs; ctx 159 bsp/hal/ppc/arch/context.c context_save(context_t ctx) ctx 164 bsp/hal/ppc/arch/context.c cur = ctx->uregs; ctx 168 bsp/hal/ppc/arch/context.c ctx->saved_regs = sav; ctx 178 bsp/hal/ppc/arch/context.c context_restore(context_t ctx) ctx 183 bsp/hal/ppc/arch/context.c cur = ctx->uregs; ctx 184 bsp/hal/ppc/arch/context.c copyin(ctx->saved_regs, cur, sizeof(*cur)); ctx 191 bsp/hal/ppc/arch/context.c context_dump(context_t ctx) ctx 195 bsp/hal/ppc/arch/context.c trap_dump(ctx->uregs); ctx 62 bsp/hal/x86/arch/context.c context_set(context_t ctx, int type, register_t val) ctx 68 bsp/hal/x86/arch/context.c k = &ctx->kregs; ctx 73 bsp/hal/x86/arch/context.c ctx->uregs = (struct cpu_regs *) ctx 75 bsp/hal/x86/arch/context.c ctx->esp0 = (uint32_t)val; ctx 78 bsp/hal/x86/arch/context.c k->esp = (uint32_t)ctx->uregs - sizeof(uint32_t); ctx 81 bsp/hal/x86/arch/context.c u = ctx->uregs; ctx 99 bsp/hal/x86/arch/context.c u = ctx->uregs; ctx 106 bsp/hal/x86/arch/context.c u = ctx->uregs; ctx 117 bsp/hal/x86/arch/context.c u = ctx->uregs; ctx 168 bsp/hal/x86/arch/context.c context_save(context_t ctx) ctx 173 bsp/hal/x86/arch/context.c cur = ctx->uregs; ctx 178 bsp/hal/x86/arch/context.c ctx->saved_regs = sav; ctx 188 bsp/hal/x86/arch/context.c context_restore(context_t ctx) ctx 193 bsp/hal/x86/arch/context.c cur = ctx->uregs; ctx 194 bsp/hal/x86/arch/context.c copyin(ctx->saved_regs, cur, sizeof(*cur)); ctx 203 bsp/hal/x86/arch/context.c context_dump(context_t ctx) ctx 207 bsp/hal/x86/arch/context.c trap_dump(ctx->uregs); ctx 74 sys/include/thread.h struct context ctx; /* machine specific context */ ctx 185 sys/kern/debug.c context_dump(&curthread->ctx); ctx 346 sys/kern/exception.c context_save(&curthread->ctx); ctx 347 sys/kern/exception.c context_set(&curthread->ctx, CTX_UENTRY, (register_t)handler); ctx 348 sys/kern/exception.c context_set(&curthread->ctx, CTX_UARG, (register_t)excno); ctx 365 sys/kern/exception.c context_restore(&curthread->ctx); ctx 246 sys/kern/sched.c context_switch(&prev->ctx, &next->ctx); ctx 106 sys/kern/thread.c context_set(&t->ctx, CTX_KSTACK, (register_t)sp); ctx 107 sys/kern/thread.c context_set(&t->ctx, CTX_KENTRY, (register_t)&syscall_ret); ctx 188 sys/kern/thread.c context_set(&t->ctx, CTX_UENTRY, (register_t)entry); ctx 190 sys/kern/thread.c context_set(&t->ctx, CTX_USTACK, (register_t)stack); ctx 541 sys/kern/thread.c context_set(&t->ctx, CTX_KSTACK, (register_t)sp); ctx 542 sys/kern/thread.c context_set(&t->ctx, CTX_KENTRY, (register_t)entry); ctx 543 sys/kern/thread.c context_set(&t->ctx, CTX_KARG, (register_t)arg); ctx 588 sys/kern/thread.c context_set(&idle_thread.ctx, CTX_KSTACK, (register_t)sp);