Searched refs:ctx_ctrl (Results 1 – 5 of 5) sorted by relevance
38 struct context_ctrl_t *ctx_ctrl = (struct context_ctrl_t *)p_ctx_ctrl; in tfm_arch_set_context_ret_code() local45 if (ctx_ctrl->cross_frame) { in tfm_arch_set_context_ret_code()46 ((struct cross_call_abi_frame_t *)ctx_ctrl->cross_frame)->a0 = ret_code; in tfm_arch_set_context_ret_code()47 ctx_ctrl->retcode_status = CROSS_RETCODE_UPDATED; in tfm_arch_set_context_ret_code()49 ((struct full_context_t *)ctx_ctrl->sp)->stat_ctx.r0 = ret_code; in tfm_arch_set_context_ret_code()95 struct context_ctrl_t *ctx_ctrl; in tfm_arch_refresh_hardware_context() local98 ctx_ctrl = (struct context_ctrl_t *)p_ctx_ctrl; in tfm_arch_refresh_hardware_context()99 sc = &(((struct full_context_t *)(ctx_ctrl->sp))->stat_ctx); in tfm_arch_refresh_hardware_context()101 tfm_arch_set_psplim(ctx_ctrl->sp_limit); in tfm_arch_refresh_hardware_context()104 return ctx_ctrl->exc_ret; in tfm_arch_refresh_hardware_context()
59 struct context_ctrl_t *ctx_ctrl; in prv_process_metadata() local66 ctx_ctrl = &p_pt->ctx_ctrl; in prv_process_metadata()76 ARCH_CTXCTRL_ALLOCATE_STACK(ctx_ctrl, allocate_size); in prv_process_metadata()78 ARCH_CTXCTRL_ALLOCATED_PTR(ctx_ctrl); in prv_process_metadata()175 ARCH_CTXCTRL_INIT(&p_pt->ctx_ctrl, in backend_init_comp_assuredly()183 THRD_INIT(&p_pt->thrd, &p_pt->ctx_ctrl, in backend_init_comp_assuredly()190 SPM_THREAD_CONTEXT = &p_pt->ctx_ctrl; in backend_init_comp_assuredly()214 struct partition_t, ctx_ctrl); in backend_system_run()
31 caller->ctx_ctrl.cross_frame = (uint32_t)frame_addr; in cross_call_entering_c()32 caller->ctx_ctrl.retcode_status = CROSS_RETCODE_EMPTY; in cross_call_entering_c()51 if (caller->ctx_ctrl.retcode_status == CROSS_RETCODE_EMPTY) { in cross_call_exiting_c()
76 #define GET_CTX_OWNER(x) TO_CONTAINER(x, struct partition_t, ctx_ctrl)124 struct context_ctrl_t ctx_ctrl; member
17 #define SET_CURRENT_COMPONENT(p) THRD_UPDATE_CUR_CTXCTRL(&(p)->ctx_ctrl)