Lines Matching refs:t
40 void arch_thread_initialize(thread_t *t) { in arch_thread_initialize() argument
41 LTRACEF("t %p (%s)\n", t, t->name); in arch_thread_initialize()
48 memset(&t->arch.cs_frame, 0, sizeof(t->arch.cs_frame)); in arch_thread_initialize()
50 t->arch.cs_frame.r1 = (vaddr_t)t->stack + t->stack_size; in arch_thread_initialize()
51 t->arch.cs_frame.r2 = r2; in arch_thread_initialize()
52 t->arch.cs_frame.r13 = r13; in arch_thread_initialize()
53 t->arch.cs_frame.r15 = (vaddr_t)&initial_thread_func; in arch_thread_initialize()
56 *(volatile uint32_t *)&t->arch.cs_frame.r15 -= 8; in arch_thread_initialize()
65 void arch_dump_thread(thread_t *t) { in arch_dump_thread() argument
66 if (t->state != THREAD_RUNNING) { in arch_dump_thread()
68 dprintf(INFO, "sp 0x%x\n", t->arch.cs_frame.r1); in arch_dump_thread()