Lines Matching refs:iframe
46 struct init_stack_frame iframe; member
113 return &uframe->iframe; in get_iframe()
157 struct init_stack_frame *iframe; in arch_new_thread() local
162 iframe = get_iframe(thread, stack_ptr); in arch_new_thread()
171 iframe->status32 = _ARC_V2_STATUS32_US | _ARC_V2_STATUS32_DZ; in arch_new_thread()
173 iframe->pc = (uint32_t)z_user_thread_entry_wrapper; in arch_new_thread()
175 iframe->pc = (uint32_t)z_thread_entry_wrapper; in arch_new_thread()
178 iframe->status32 = _ARC_V2_STATUS32_DZ; in arch_new_thread()
179 iframe->pc = ((uintptr_t)z_thread_entry_wrapper); in arch_new_thread()
182 iframe->sec_stat = z_arc_v2_aux_reg_read(_ARC_V2_SEC_STAT); in arch_new_thread()
184 iframe->r0 = (uintptr_t)entry; in arch_new_thread()
185 iframe->r1 = (uintptr_t)p1; in arch_new_thread()
186 iframe->r2 = (uintptr_t)p2; in arch_new_thread()
187 iframe->r3 = (uintptr_t)p3; in arch_new_thread()
191 iframe->sec_stat |= _ARC_V2_SEC_STAT_SSC; in arch_new_thread()
193 iframe->status32 |= _ARC_V2_STATUS32_SC; in arch_new_thread()
197 iframe->status32 |= _ARC_V2_STATUS32_AD; in arch_new_thread()
203 (uintptr_t)iframe - ___callee_saved_stack_t_SIZEOF; in arch_new_thread()