/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/ |
tspd_common.c | 67 cm_set_context(&tsp_ctx->cpu_ctx, SECURE); 84 * 1. Applies the S-EL1 system register context from tsp_ctx->cpu_ctx. 88 * from the tsp_ctx->cpu_ctx are used to enter the secure payload image. 98 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); 113 * 1. Saves the S-EL1 system register context tp tsp_ctx->cpu_ctx. 123 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx);
|
tspd_main.c | 125 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); 138 tsp_ctx->saved_spsr_el3 = SMC_GET_EL3(&tsp_ctx->cpu_ctx, 140 tsp_ctx->saved_elr_el3 = SMC_GET_EL3(&tsp_ctx->cpu_ctx, 144 memcpy(&tsp_ctx->sp_ctx, &tsp_ctx->cpu_ctx, TSPD_SP_CTX_SIZE); 161 SMC_RET2(&tsp_ctx->cpu_ctx, TSP_HANDLE_FIQ_AND_RETURN, read_elr_el3()); 343 SMC_SET_EL3(&tsp_ctx->cpu_ctx, 346 SMC_SET_EL3(&tsp_ctx->cpu_ctx, 354 memcpy(&tsp_ctx->cpu_ctx, &tsp_ctx->sp_ctx, 465 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); 565 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)) [all...] |
tspd_pm.c | 174 write_ctx_reg(get_gpregs_ctx(&tsp_ctx->cpu_ctx),
|
tspd_private.h | 194 * 'cpu_ctx' - space to maintain SP architectural state 208 cpu_context_t cpu_ctx; member in struct:tsp_context
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/ |
opteed_common.c | 60 cm_set_context(&optee_ctx->cpu_ctx, SECURE); 84 * 1. Applies the S-EL1 system register context from optee_ctx->cpu_ctx. 88 * from the optee_ctx->cpu_ctx are used to enter the OPTEE image. 98 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx); 113 * 1. Saves the S-EL1 system register context tp optee_ctx->cpu_ctx. 123 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx);
|
opteed_main.c | 122 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); 135 SMC_RET1(&optee_ctx->cpu_ctx, read_elr_el3()); 362 gp_regs_t *sec_gpregs = get_gpregs_ctx(&optee_ctx->cpu_ctx); 387 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); 414 SMC_RET4(&optee_ctx->cpu_ctx, smc_fid, x1, x2, x3);
|
opteed_private.h | 147 * 'cpu_ctx' - space to maintain OPTEE architectural state 153 cpu_context_t cpu_ctx; member in struct:optee_context
|
opteed_pm.c | 164 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx),
|