/external/arm-trusted-firmware/services/spd/tspd/ |
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() 108 assert(handle == cm_get_context(NON_SECURE)); in tspd_sel1_interrupt_handler() 116 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); in tspd_sel1_interrupt_handler() 321 assert(handle == cm_get_context(SECURE)); in tspd_smc_handler() 345 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_smc_handler() 420 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_smc_handler() 431 SMC_RET0(cm_get_context(NON_SECURE)); in tspd_smc_handler() 504 assert(handle == cm_get_context(NON_SECURE)); in tspd_smc_handler() 527 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); in tspd_smc_handler() [all …]
|
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()
|
/external/arm-trusted-firmware/services/spd/opteed/ |
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()
|
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()
|
/external/arm-trusted-firmware/lib/el3_runtime/aarch64/ |
D | context_mgmt.c | 315 ctx = cm_get_context(GET_SECURITY_STATE(ep->h.attr)); in cm_init_my_context() 330 cpu_context_t *ctx = cm_get_context(security_state); in cm_prepare_el3_exit() 544 ctx = cm_get_context(security_state); in cm_el1_sysregs_context_save() 561 ctx = cm_get_context(security_state); in cm_el1_sysregs_context_restore() 583 ctx = cm_get_context(security_state); in cm_set_elr_el3() 601 ctx = cm_get_context(security_state); in cm_set_elr_spsr_el3() 623 ctx = cm_get_context(security_state); in cm_write_scr_el3_bit() 652 ctx = cm_get_context(security_state); in cm_get_scr_el3() 669 ctx = cm_get_context(security_state); in cm_set_next_eret_context()
|
/external/arm-trusted-firmware/bl32/sp_min/ |
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()
|
/external/arm-trusted-firmware/services/spd/tlkd/ |
D | tlkd_main.c | 173 assert(handle == cm_get_context(SECURE)); in tlkd_smc_handler() 177 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler() 225 assert(handle == cm_get_context(NON_SECURE)); in tlkd_smc_handler() 245 assert(&tlk_ctx.cpu_ctx == cm_get_context(SECURE)); in tlkd_smc_handler() 321 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler()
|
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()
|
/external/arm-trusted-firmware/bl1/aarch32/ |
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()
|
/external/arm-trusted-firmware/bl1/aarch64/ |
D | bl1_context_mgmt.c | 27 void *cm_get_context(uint32_t security_state) in cm_get_context() function 72 if (!cm_get_context(security_state)) in bl1_prepare_next_image()
|
/external/arm-trusted-firmware/services/spd/trusty/ |
D | trusty.c | 92 ctx_smc = cm_get_context(NON_SECURE); in trusty_context_switch() 112 fpregs_context_save(get_fpregs_ctx(cm_get_context(security_state))); in trusty_context_switch() 122 fpregs_context_restore(get_fpregs_ctx(cm_get_context(security_state))); in trusty_context_switch() 302 fpregs_context_save(get_fpregs_ctx(cm_get_context(NON_SECURE))); in trusty_init() 319 fpregs_context_restore(get_fpregs_ctx(cm_get_context(SECURE))); in trusty_init() 328 fpregs_context_restore(get_fpregs_ctx(cm_get_context(NON_SECURE))); in trusty_init()
|
/external/arm-trusted-firmware/bl1/ |
D | bl1_fwu.c | 535 *handle = cm_get_context(SECURE); in bl1_fwu_image_execute() 597 *handle = cm_get_context(resume_sec_state); in bl1_fwu_image_resume() 600 cm_set_next_context(cm_get_context(resume_sec_state)); in bl1_fwu_image_resume() 654 *handle = cm_get_context(NON_SECURE); in bl1_fwu_sec_image_done() 657 cm_set_next_context(cm_get_context(NON_SECURE)); in bl1_fwu_sec_image_done()
|
/external/arm-trusted-firmware/plat/nvidia/tegra/common/ |
D | tegra_fiq_glue.c | 45 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_interrupt_handler() 156 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_get_intr_context()
|
/external/arm-trusted-firmware/lib/el3_runtime/aarch32/ |
D | context_mgmt.c | 165 ctx = cm_get_context(GET_SECURITY_STATE(ep->h.attr)); in cm_init_my_context() 180 cpu_context_t *ctx = cm_get_context(security_state); in cm_prepare_el3_exit()
|
/external/arm-trusted-firmware/services/std_svc/spm_mm/ |
D | spm_mm_main.c | 290 assert(handle == cm_get_context(SECURE)); in spm_mm_smc_handler() 331 assert(handle == cm_get_context(NON_SECURE)); in spm_mm_smc_handler()
|
/external/arm-trusted-firmware/bl31/ |
D | bl31_context_mgmt.c | 21 void *cm_get_context(uint32_t security_state) in cm_get_context() function
|
D | interrupt_mgmt.c | 113 if (cm_get_context(security_state) != NULL) in set_scr_el3_from_rm()
|
D | ehf.c | 350 ns_ctx = cm_get_context(NON_SECURE); in ehf_allow_ns_preemption()
|
/external/arm-trusted-firmware/include/lib/el3_runtime/ |
D | context_mgmt.h | 30 void *cm_get_context(uint32_t security_state);
|
/external/arm-trusted-firmware/services/std_svc/sdei/ |
D | sdei_intr_mgmt.c | 228 ns_ctx = cm_get_context(NON_SECURE); in restore_and_resume_ns_context() 648 ctx = cm_get_context(NON_SECURE); in sdei_event_complete()
|
D | sdei_private.h | 166 cpu_context_t *ns_ctx = cm_get_context(NON_SECURE); in sdei_client_el()
|
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/drivers/mce/ |
D | mce.c | 159 gp_regs_t *gp_regs = get_gpregs_ctx(cm_get_context(NON_SECURE)); in mce_command_handler()
|
/external/arm-trusted-firmware/docs/getting_started/ |
D | psci-lib-integration-guide.rst | 40 ``cm_get_context()`` , then programming the registers in the non-secure 222 cm_get_context()) for the current CPU and program the registers prior to exit 292 non-secure ``cpu_context_t`` using ``cm_get_context()`` and program the registers 381 **Function : cm_get_context()**
|