Home
last modified time | relevance | path

Searched refs:p_ctx_ctrl (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.7.0/secure_fw/spm/core/arch/
Dtfm_arch.c37 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() argument
40 ((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() argument
138 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() argument
173 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 …]
/trusted-firmware-m-3.7.0/secure_fw/spm/core/
Dthread.h71 #define THRD_INIT(p_thrd, p_ctx_ctrl, prio) do { \ argument
75 (p_thrd)->p_context_ctrl = p_ctx_ctrl; \
/trusted-firmware-m-3.7.0/secure_fw/spm/include/
Dtfm_arch.h281 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);