Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/
Dtspd_main.c61 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 …]
Dtspd_common.c77 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/
Dcontext_mgmt.c232 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/
Dopteed_main.c64 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()
Dopteed_common.c76 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/
Dsp_min_main.c59 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/
Dtlkd_main.c171 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()
Dtlkd_common.c129 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/
Dbl1_context_mgmt.c48 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/
Dbl1_context_mgmt.c25 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/
Dtegra_fiq_glue.c38 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/
Dbl1_fwu.c530 *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/
Dcontext_mgmt.c148 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/
Dbl31_context_mgmt.c21 void *cm_get_context(uint32_t security_state) in cm_get_context() function
Dinterrupt_mgmt.c112 if (cm_get_context(security_state)) in set_scr_el3_from_rm()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/el3_runtime/
Dcontext_mgmt.h30 void *cm_get_context(uint32_t security_state);
/device/linaro/bootloader/arm-trusted-firmware/services/spd/trusty/
Dtrusty.c89 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/
Dmce.c157 gp_regs_t *gp_regs = get_gpregs_ctx(cm_get_context(NON_SECURE)); in mce_command_handler()
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dpsci-lib-integration-guide.rst45 ``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