Searched refs:p_ctx_ctrl (Results 1 – 3 of 3) sorted by relevance
37 void tfm_arch_set_context_ret_code(const struct context_ctrl_t *p_ctx_ctrl, uint32_t ret_code) in tfm_arch_set_context_ret_code() argument40 ((struct full_context_t *)p_ctx_ctrl->sp)->stat_ctx.r0 = ret_code; in tfm_arch_set_context_ret_code()135 void tfm_arch_init_context(struct context_ctrl_t *p_ctx_ctrl, in tfm_arch_init_context() argument138 uintptr_t sp = p_ctx_ctrl->sp; in tfm_arch_init_context()139 uintptr_t sp_limit = p_ctx_ctrl->sp_limit; in tfm_arch_init_context()165 p_ctx_ctrl->exc_ret = EXC_RETURN_THREAD_PSP; in tfm_arch_init_context()166 p_ctx_ctrl->sp = (uintptr_t)p_tctx; in tfm_arch_init_context()169 uint32_t tfm_arch_refresh_hardware_context(const struct context_ctrl_t *p_ctx_ctrl) in tfm_arch_refresh_hardware_context() argument173 sc = &(((struct full_context_t *)(p_ctx_ctrl->sp))->stat_ctx); in tfm_arch_refresh_hardware_context()175 arch_update_process_sp((uint32_t)sc, p_ctx_ctrl->sp_limit); in tfm_arch_refresh_hardware_context()[all …]
71 #define THRD_INIT(p_thrd, p_ctx_ctrl, prio) do { \ argument75 (p_thrd)->p_context_ctrl = p_ctx_ctrl; \
281 void tfm_arch_set_context_ret_code(const struct context_ctrl_t *p_ctx_ctrl, uint32_t ret_code);284 void tfm_arch_init_context(struct context_ctrl_t *p_ctx_ctrl,293 uint32_t tfm_arch_refresh_hardware_context(const struct context_ctrl_t *p_ctx_ctrl);