Searched refs:cpu_ctx (Results 1 - 13 of 13) sorted by relevance
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tlkd/ |
H A D | tlkd_pm.c | 52 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); 85 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); 112 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx);
|
H A D | tlkd_common.c | 92 cm_set_context(&tlk_ctx->cpu_ctx, SECURE); 114 * 1. Applies the S-EL1 system register context from tlk_ctx->cpu_ctx. 118 * from the tlk_ctx->cpu_ctx are used to enter the secure payload image. 129 assert(cm_get_context(SECURE) == &tlk_ctx->cpu_ctx); 143 * 1. Saves the S-EL1 system register context to tlk_ctx->cpu_ctx. 155 assert(cm_get_context(SECURE) == &tlk_ctx->cpu_ctx);
|
H A D | tlkd_main.c | 237 assert(&tlk_ctx.cpu_ctx == cm_get_context(SECURE)); 259 gp_regs = get_gpregs_ctx(&tlk_ctx.cpu_ctx); 264 SMC_RET4(&tlk_ctx.cpu_ctx, smc_fid, 0, (uint32_t)x1,
|
H A D | tlkd_private.h | 95 * 'cpu_ctx' - space to maintain SP architectural state 103 cpu_context_t cpu_ctx; member in struct:tlk_context
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/ |
H A D | opteed_common.c | 37 cm_set_context(&optee_ctx->cpu_ctx, SECURE); 62 * 1. Applies the S-EL1 system register context from optee_ctx->cpu_ctx. 66 * from the optee_ctx->cpu_ctx are used to enter the OPTEE image. 76 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx); 91 * 1. Saves the S-EL1 system register context tp optee_ctx->cpu_ctx. 101 assert(cm_get_context(SECURE) == &optee_ctx->cpu_ctx);
|
H A D | opteed_main.c | 72 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); 85 SMC_RET1(&optee_ctx->cpu_ctx, read_elr_el3()); 231 assert(&optee_ctx->cpu_ctx == cm_get_context(SECURE)); 248 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), 252 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), 256 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), 261 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx), 266 SMC_RET4(&optee_ctx->cpu_ctx, smc_fid, x1, x2, x3);
|
H A D | opteed_private.h | 123 * 'cpu_ctx' - space to maintain OPTEE architectural state 129 cpu_context_t cpu_ctx; member in struct:optee_context
|
H A D | opteed_pm.c | 136 write_ctx_reg(get_gpregs_ctx(&optee_ctx->cpu_ctx),
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/ |
H A D | tspd_common.c | 46 cm_set_context(&tsp_ctx->cpu_ctx, SECURE); 63 * 1. Applies the S-EL1 system register context from tsp_ctx->cpu_ctx. 67 * from the tsp_ctx->cpu_ctx are used to enter the secure payload image. 77 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); 92 * 1. Saves the S-EL1 system register context tp tsp_ctx->cpu_ctx. 102 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx);
|
H A D | tspd_main.c | 113 assert(&tsp_ctx->cpu_ctx == cm_get_context(SECURE)); 126 tsp_ctx->saved_spsr_el3 = SMC_GET_EL3(&tsp_ctx->cpu_ctx, 128 tsp_ctx->saved_elr_el3 = SMC_GET_EL3(&tsp_ctx->cpu_ctx, 132 memcpy(&tsp_ctx->sp_ctx, &tsp_ctx->cpu_ctx, TSPD_SP_CTX_SIZE); 149 SMC_RET2(&tsp_ctx->cpu_ctx, TSP_HANDLE_SEL1_INTR_AND_RETURN, read_elr_el3()); 325 SMC_SET_EL3(&tsp_ctx->cpu_ctx, 328 SMC_SET_EL3(&tsp_ctx->cpu_ctx, 336 memcpy(&tsp_ctx->cpu_ctx, &tsp_ctx->sp_ctx, 417 assert(cm_get_context(SECURE) == &tsp_ctx->cpu_ctx); 522 assert(&tsp_ctx->cpu_ctx [all...] |
H A D | tspd_pm.c | 158 write_ctx_reg(get_gpregs_ctx(&tsp_ctx->cpu_ctx),
|
H A D | tspd_private.h | 171 * 'cpu_ctx' - space to maintain SP architectural state 185 cpu_context_t cpu_ctx; member in struct:tsp_context
|
/device/linaro/bootloader/arm-trusted-firmware/services/spd/trusty/ |
H A D | trusty.c | 33 cpu_context_t cpu_ctx; member in struct:trusty_cpu_ctx 292 int reg_width = GET_RW(read_ctx_reg(get_el3state_ctx(&ctx->cpu_ctx), 304 cm_set_context(&ctx->cpu_ctx, SECURE);
|
Completed in 55 milliseconds