Home
last modified time | relevance | path

Searched refs:sp_ctx (Results 1 – 6 of 6) sorted by relevance

/external/arm-trusted-firmware/services/std_svc/spm_mm/
Dspm_mm_main.c30 static sp_context_t sp_ctx; variable
120 sp_context_t *ctx = &sp_ctx; in spm_sp_synchronous_exit()
142 ctx = &sp_ctx; in spm_init()
169 ctx = &sp_ctx; in spm_mm_setup()
190 sp_context_t *sp_ptr = &sp_ctx; in spm_mm_sp_call()
306 if (sp_ctx.state != SP_STATE_RESET) { in spm_mm_smc_handler()
312 &sp_ctx, x1)); in spm_mm_smc_handler()
317 if (sp_ctx.state != SP_STATE_RESET) { in spm_mm_smc_handler()
323 &sp_ctx, x1, x2, x3)); in spm_mm_smc_handler()
Dspm_mm_setup.c25 void spm_sp_setup(sp_context_t *sp_ctx) in spm_sp_setup() argument
27 cpu_context_t *ctx = &(sp_ctx->cpu_ctx); in spm_sp_setup()
99 mmap_add_region_ctx(sp_ctx->xlat_ctx_handle, in spm_sp_setup()
102 mmap_add_ctx(sp_ctx->xlat_ctx_handle, in spm_sp_setup()
105 init_xlat_tables_ctx(sp_ctx->xlat_ctx_handle); in spm_sp_setup()
111 xlat_ctx_t *xlat_ctx = sp_ctx->xlat_ctx_handle; in spm_sp_setup()
Dspm_mm_xlat.c112 int32_t spm_memory_attributes_get_smc_handler(sp_context_t *sp_ctx, in spm_memory_attributes_get_smc_handler() argument
119 int rc = xlat_get_mem_attributes_ctx(sp_ctx->xlat_ctx_handle, in spm_memory_attributes_get_smc_handler()
134 int spm_memory_attributes_set_smc_handler(sp_context_t *sp_ctx, in spm_memory_attributes_set_smc_handler() argument
149 int ret = xlat_change_mem_attributes_ctx(sp_ctx->xlat_ctx_handle, in spm_memory_attributes_set_smc_handler()
Dspm_mm_private.h58 void spm_sp_setup(sp_context_t *sp_ctx);
62 int32_t spm_memory_attributes_get_smc_handler(sp_context_t *sp_ctx,
64 int spm_memory_attributes_set_smc_handler(sp_context_t *sp_ctx,
/external/arm-trusted-firmware/services/spd/tspd/
Dtspd_main.c135 memcpy(&tsp_ctx->sp_ctx, &tsp_ctx->cpu_ctx, TSPD_SP_CTX_SIZE); in tspd_sel1_interrupt_handler()
339 memcpy(&tsp_ctx->cpu_ctx, &tsp_ctx->sp_ctx, in tspd_smc_handler()
Dtspd_private.h190 sp_ctx_regs_t sp_ctx; member