/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/ |
D | tspd_main.c | 61 assert(handle == cm_get_context(SECURE)); in tspd_handle_sp_preemption() 64 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_handle_sp_preemption() 105 assert(handle == cm_get_context(NON_SECURE)); in tspd_sel1_interrupt_handler() 113 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); in tspd_sel1_interrupt_handler() 318 assert(handle == cm_get_context(SECURE)); in tspd_smc_handler() 342 ns_cpu_context = cm_get_context(NON_SECURE); in tspd_smc_handler() 417 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_smc_handler() 428 SMC_RET0(cm_get_context(NON_SECURE)); in tspd_smc_handler() 499 assert(handle == cm_get_context(NON_SECURE)); in tspd_smc_handler() 522 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); in tspd_smc_handler() [all …]
|
D | tspd_common.c | 77 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_synchronous_sp_entry() 102 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); in tspd_synchronous_sp_exit()
|
/device/linaro/bootloader/arm-trusted-firmware/lib/el3_runtime/aarch64/ |
D | context_mgmt.c | 232 ctx = cm_get_context(GET_SECURITY_STATE(ep->h.attr)); in cm_init_my_context() 247 cpu_context_t *ctx = cm_get_context(security_state); in cm_prepare_el3_exit() 438 ctx = cm_get_context(security_state); in cm_el1_sysregs_context_save() 456 ctx = cm_get_context(security_state); in cm_el1_sysregs_context_restore() 478 ctx = cm_get_context(security_state); in cm_set_elr_el3() 496 ctx = cm_get_context(security_state); in cm_set_elr_spsr_el3() 518 ctx = cm_get_context(security_state); in cm_write_scr_el3_bit() 547 ctx = cm_get_context(security_state); in cm_get_scr_el3() 564 ctx = cm_get_context(security_state); in cm_set_next_eret_context()
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/ |
D | opteed_main.c | 64 assert(handle == cm_get_context(NON_SECURE)); in opteed_sel1_interrupt_handler() 72 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); in opteed_sel1_interrupt_handler() 215 assert(handle == cm_get_context(NON_SECURE)); in opteed_smc_handler() 231 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); in opteed_smc_handler() 360 assert(handle == cm_get_context(SECURE)); in opteed_smc_handler() 364 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler() 379 ns_cpu_context = cm_get_context(NON_SECURE); in opteed_smc_handler()
|
D | opteed_common.c | 76 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx); in opteed_synchronous_sp_entry() 101 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx); in opteed_synchronous_sp_exit()
|
/device/linaro/bootloader/arm-trusted-firmware/bl32/sp_min/ |
D | sp_min_main.c | 59 void *cm_get_context(uint32_t security_state) in cm_get_context() function 116 cpu_context_t *ctx = cm_get_context(NON_SECURE); in sp_min_prepare_next_image_entry() 130 copy_cpu_ctx_to_smc_stx(get_regs_ctx(cm_get_context(NON_SECURE)), in sp_min_prepare_next_image_entry() 199 cpu_context_t *ctx = cm_get_context(NON_SECURE); in sp_min_warm_boot() 209 copy_cpu_ctx_to_smc_stx(get_regs_ctx(cm_get_context(NON_SECURE)), in sp_min_warm_boot()
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tlkd/ |
D | tlkd_main.c | 171 assert(handle == cm_get_context(SECURE)); in tlkd_smc_handler() 175 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler() 217 assert(handle == cm_get_context(NON_SECURE)); in tlkd_smc_handler() 237 assert(&tlk_ctx.cpu_ctx == cm_get_context(SECURE)); in tlkd_smc_handler() 313 ns_cpu_context = cm_get_context(NON_SECURE); in tlkd_smc_handler()
|
D | tlkd_common.c | 129 assert(cm_get_context(SECURE) == &tlk_ctx->cpu_ctx); in tlkd_synchronous_sp_entry() 155 assert(cm_get_context(SECURE) == &tlk_ctx->cpu_ctx); in tlkd_synchronous_sp_exit()
|
/device/linaro/bootloader/arm-trusted-firmware/bl1/aarch32/ |
D | bl1_context_mgmt.c | 48 void *cm_get_context(uint32_t security_state) in cm_get_context() function 138 cm_set_next_context(cm_get_context(security_state)); in bl1_prepare_next_image() 152 cpu_context_t *ctx = cm_get_context(security_state); in bl1_prepare_next_image()
|
/device/linaro/bootloader/arm-trusted-firmware/bl1/aarch64/ |
D | bl1_context_mgmt.c | 25 void *cm_get_context(uint32_t security_state) in cm_get_context() function 70 if (!cm_get_context(security_state)) in bl1_prepare_next_image()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/ |
D | tegra_fiq_glue.c | 38 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_interrupt_handler() 119 cpu_context_t *ctx = cm_get_context(NON_SECURE); in tegra_fiq_get_intr_context()
|
/device/linaro/bootloader/arm-trusted-firmware/bl1/ |
D | bl1_fwu.c | 530 *handle = cm_get_context(SECURE); in bl1_fwu_image_execute() 592 *handle = cm_get_context(resume_sec_state); in bl1_fwu_image_resume() 595 cm_set_next_context(cm_get_context(resume_sec_state)); in bl1_fwu_image_resume() 649 *handle = cm_get_context(NON_SECURE); in bl1_fwu_sec_image_done() 652 cm_set_next_context(cm_get_context(NON_SECURE)); in bl1_fwu_sec_image_done()
|
/device/linaro/bootloader/arm-trusted-firmware/lib/el3_runtime/aarch32/ |
D | context_mgmt.c | 148 ctx = cm_get_context(GET_SECURITY_STATE(ep->h.attr)); in cm_init_my_context() 163 cpu_context_t *ctx = cm_get_context(security_state); in cm_prepare_el3_exit()
|
/device/linaro/bootloader/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 | 112 if (cm_get_context(security_state)) in set_scr_el3_from_rm()
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/el3_runtime/ |
D | context_mgmt.h | 30 void *cm_get_context(uint32_t security_state);
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/trusty/ |
D | trusty.c | 89 ctx_smc = cm_get_context(NON_SECURE); in trusty_context_switch() 110 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()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/drivers/mce/ |
D | mce.c | 157 gp_regs_t *gp_regs = get_gpregs_ctx(cm_get_context(NON_SECURE)); in mce_command_handler()
|
/device/linaro/bootloader/arm-trusted-firmware/docs/ |
D | psci-lib-integration-guide.rst | 45 ``cm_get_context()`` , then programming the registers in the non-secure 297 non-secure ``cpu_context_t`` using ``cm_get_context()`` and program the registers
|