Home
last modified time | relevance | path

Searched refs:cm_get_context (Results 1 – 25 of 29) sorted by relevance

12

/tf-a-ffa_el3_spmc/services/spd/tspd/
A Dtspd_main.c64 assert(handle == cm_get_context(SECURE)); in tspd_handle_sp_preemption()
67 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_handle_sp_preemption()
154 assert(handle == cm_get_context(NON_SECURE)); in tspd_sel1_interrupt_handler()
161 assert(handle == cm_get_context(SECURE)); in tspd_sel1_interrupt_handler()
174 assert(handle == cm_get_context(NON_SECURE)); in tspd_sel1_interrupt_handler()
384 assert(handle == cm_get_context(SECURE)); in tspd_smc_handler()
408 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_smc_handler()
507 SMC_RET0(cm_get_context(NON_SECURE)); in tspd_smc_handler()
649 assert(handle == cm_get_context(SECURE)); in tspd_smc_handler()
653 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_smc_handler()
[all …]
A Dtspd_common.c79 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_synchronous_sp_entry()
104 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_synchronous_sp_exit()
/tf-a-ffa_el3_spmc/services/spd/tlkd/
A Dtlkd_main.c76 assert(handle == cm_get_context(NON_SECURE)); in tlkd_interrupt_handler()
82 s_cpu_context = cm_get_context(SECURE); in tlkd_interrupt_handler()
233 assert(handle == cm_get_context(SECURE)); in tlkd_smc_handler()
237 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler()
288 assert(handle == cm_get_context(NON_SECURE)); in tlkd_smc_handler()
308 assert(&tlk_ctx.cpu_ctx == cm_get_context(SECURE)); in tlkd_smc_handler()
384 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler()
458 assert(handle == cm_get_context(SECURE)); in tlkd_smc_handler()
464 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler()
A Dtlkd_common.c131 assert(cm_get_context(SECURE) == &tlk_ctx->cpu_ctx); in tlkd_synchronous_sp_entry()
157 assert(cm_get_context(SECURE) == &tlk_ctx->cpu_ctx); in tlkd_synchronous_sp_exit()
/tf-a-ffa_el3_spmc/bl32/sp_min/
A Dsp_min_main.c69 void *cm_get_context(uint32_t security_state) in cm_get_context() function
128 cpu_context_t *ctx = cm_get_context(NON_SECURE); in sp_min_prepare_next_image_entry()
142 copy_cpu_ctx_to_smc_stx(get_regs_ctx(cm_get_context(NON_SECURE)), in sp_min_prepare_next_image_entry()
211 cpu_context_t *ctx = cm_get_context(NON_SECURE); in sp_min_warm_boot()
221 copy_cpu_ctx_to_smc_stx(get_regs_ctx(cm_get_context(NON_SECURE)), in sp_min_warm_boot()
/tf-a-ffa_el3_spmc/services/spd/opteed/
A Dopteed_main.c65 assert(handle == cm_get_context(NON_SECURE)); in opteed_sel1_interrupt_handler()
73 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); in opteed_sel1_interrupt_handler()
216 assert(handle == cm_get_context(NON_SECURE)); in opteed_smc_handler()
232 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); in opteed_smc_handler()
363 assert(handle == cm_get_context(SECURE)); in opteed_smc_handler()
367 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler()
382 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler()
A Dopteed_common.c78 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx); in opteed_synchronous_sp_entry()
103 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx); in opteed_synchronous_sp_exit()
/tf-a-ffa_el3_spmc/lib/el3_runtime/aarch64/
A Dcontext_mgmt.c387 ctx = cm_get_context(GET_SECURITY_STATE(ep->h.attr)); in cm_init_my_context()
402 cpu_context_t *ctx = cm_get_context(security_state); in cm_prepare_el3_exit()
623 ctx = cm_get_context(security_state); in cm_el2_sysregs_context_save()
645 ctx = cm_get_context(security_state); in cm_el2_sysregs_context_restore()
662 ctx = cm_get_context(security_state); in cm_el1_sysregs_context_save()
679 ctx = cm_get_context(security_state); in cm_el1_sysregs_context_restore()
701 ctx = cm_get_context(security_state); in cm_set_elr_el3()
719 ctx = cm_get_context(security_state); in cm_set_elr_spsr_el3()
741 ctx = cm_get_context(security_state); in cm_write_scr_el3_bit()
770 ctx = cm_get_context(security_state); in cm_get_scr_el3()
[all …]
/tf-a-ffa_el3_spmc/bl1/aarch64/
A Dbl1_context_mgmt.c21 void *cm_get_context(uint32_t security_state) in cm_get_context() function
73 if (cm_get_context(security_state) == NULL) in bl1_prepare_next_image()
/tf-a-ffa_el3_spmc/bl1/aarch32/
A Dbl1_context_mgmt.c50 void *cm_get_context(uint32_t security_state) in cm_get_context() function
133 cm_set_next_context(cm_get_context(security_state)); in bl1_prepare_next_image()
147 cpu_context_t *ctx = cm_get_context(security_state); in bl1_prepare_next_image()
/tf-a-ffa_el3_spmc/plat/nvidia/tegra/common/
A Dtegra_fiq_glue.c42 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_interrupt_handler()
129 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_get_intr_context()
/tf-a-ffa_el3_spmc/plat/qti/common/src/
A Dqti_interrupt_svc.c33 assert(handle != cm_get_context(SECURE)); in qti_el3_interrupt_handler()
/tf-a-ffa_el3_spmc/bl31/
A Dbl31_context_mgmt.c20 void *cm_get_context(uint32_t security_state) in cm_get_context() function
A Dinterrupt_mgmt.c113 if (cm_get_context(security_state) != NULL) in set_scr_el3_from_rm()
A Dehf.c350 ns_ctx = cm_get_context(NON_SECURE); in ehf_allow_ns_preemption()
/tf-a-ffa_el3_spmc/services/spd/trusty/
A Dtrusty.c100 ctx_smc = cm_get_context(NON_SECURE); in trusty_context_switch()
120 fpregs_context_save(get_fpregs_ctx(cm_get_context(security_state))); in trusty_context_switch()
130 fpregs_context_restore(get_fpregs_ctx(cm_get_context(security_state))); in trusty_context_switch()
321 fpregs_context_save(get_fpregs_ctx(cm_get_context(NON_SECURE))); in trusty_init()
338 fpregs_context_restore(get_fpregs_ctx(cm_get_context(SECURE))); in trusty_init()
347 fpregs_context_restore(get_fpregs_ctx(cm_get_context(NON_SECURE))); in trusty_init()
/tf-a-ffa_el3_spmc/lib/el3_runtime/aarch32/
A Dcontext_mgmt.c163 ctx = cm_get_context(GET_SECURITY_STATE(ep->h.attr)); in cm_init_my_context()
178 cpu_context_t *ctx = cm_get_context(security_state); in cm_prepare_el3_exit()
/tf-a-ffa_el3_spmc/bl1/
A Dbl1_fwu.c541 *handle = cm_get_context(SECURE); in bl1_fwu_image_execute()
603 *handle = cm_get_context(resume_sec_state); in bl1_fwu_image_resume()
606 cm_set_next_context(cm_get_context(resume_sec_state)); in bl1_fwu_image_resume()
660 *handle = cm_get_context(NON_SECURE); in bl1_fwu_sec_image_done()
663 cm_set_next_context(cm_get_context(NON_SECURE)); in bl1_fwu_sec_image_done()
/tf-a-ffa_el3_spmc/include/lib/el3_runtime/
A Dcontext_mgmt.h30 void *cm_get_context(uint32_t security_state);
/tf-a-ffa_el3_spmc/services/std_svc/spm/common/
A Dlogical_mm_sp.c254 assert(handle == cm_get_context(SECURE)); in handle_ffa_direct_request()
258 assert(handle == cm_get_context(NON_SECURE)); in handle_ffa_direct_request()
/tf-a-ffa_el3_spmc/services/std_svc/spm/spm_mm/
A Dspm_mm_main.c329 assert(handle == cm_get_context(SECURE)); in spm_mm_smc_handler()
370 assert(handle == cm_get_context(NON_SECURE)); in spm_mm_smc_handler()
/tf-a-ffa_el3_spmc/services/std_svc/sdei/
A Dsdei_private.h166 cpu_context_t *ns_ctx = cm_get_context(NON_SECURE); in sdei_client_el()
A Dsdei_intr_mgmt.c229 ns_ctx = cm_get_context(NON_SECURE); in restore_and_resume_ns_context()
713 ctx = cm_get_context(NON_SECURE); in sdei_event_complete()
/tf-a-ffa_el3_spmc/services/std_svc/spmd/
A Dspmd_main.c154 assert(cm_get_context(SECURE) == &(ctx->cpu_ctx)); in spmd_spm_core_sync_exit()
399 SMC_RET8(cm_get_context(secure_state_out), smc_fid, x1, x2, x3, x4, in ffa_smc_forward()
/tf-a-ffa_el3_spmc/plat/qti/qtiseclib/src/
A Dqtiseclib_cb_interface.c134 ctx = cm_get_context(NON_SECURE); in qtiseclib_cb_get_ns_ctx()

Completed in 23 milliseconds

12