/tf-a-ffa_el3_spmc/services/spd/tspd/ |
A D | tspd_main.c | 64 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 D | tspd_common.c | 79 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 D | tlkd_main.c | 76 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 D | tlkd_common.c | 131 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 D | sp_min_main.c | 69 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 D | opteed_main.c | 65 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 D | opteed_common.c | 78 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 D | context_mgmt.c | 387 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 D | bl1_context_mgmt.c | 21 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 D | bl1_context_mgmt.c | 50 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 D | tegra_fiq_glue.c | 42 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 D | qti_interrupt_svc.c | 33 assert(handle != cm_get_context(SECURE)); in qti_el3_interrupt_handler()
|
/tf-a-ffa_el3_spmc/bl31/ |
A D | bl31_context_mgmt.c | 20 void *cm_get_context(uint32_t security_state) in cm_get_context() function
|
A D | interrupt_mgmt.c | 113 if (cm_get_context(security_state) != NULL) in set_scr_el3_from_rm()
|
A D | ehf.c | 350 ns_ctx = cm_get_context(NON_SECURE); in ehf_allow_ns_preemption()
|
/tf-a-ffa_el3_spmc/services/spd/trusty/ |
A D | trusty.c | 100 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 D | context_mgmt.c | 163 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 D | bl1_fwu.c | 541 *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 D | context_mgmt.h | 30 void *cm_get_context(uint32_t security_state);
|
/tf-a-ffa_el3_spmc/services/std_svc/spm/common/ |
A D | logical_mm_sp.c | 254 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 D | spm_mm_main.c | 329 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 D | sdei_private.h | 166 cpu_context_t *ns_ctx = cm_get_context(NON_SECURE); in sdei_client_el()
|
A D | sdei_intr_mgmt.c | 229 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 D | spmd_main.c | 154 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 D | qtiseclib_cb_interface.c | 134 ctx = cm_get_context(NON_SECURE); in qtiseclib_cb_get_ns_ctx()
|