Searched refs:sp_ctx (Results 1 – 8 of 8) sorted by relevance
/arm-trusted-firmware-2.8.0/services/std_svc/spm/spm_mm/ |
A D | spm_mm_main.c | 31 static sp_context_t sp_ctx; variable 121 sp_context_t *ctx = &sp_ctx; in spm_sp_synchronous_exit() 143 ctx = &sp_ctx; in spm_init() 170 ctx = &sp_ctx; in spm_mm_setup() 191 sp_context_t *sp_ptr = &sp_ctx; in spm_mm_sp_call() 323 if (sp_ctx.state != SP_STATE_RESET) { in spm_mm_smc_handler() 329 &sp_ctx, x1)); in spm_mm_smc_handler() 334 if (sp_ctx.state != SP_STATE_RESET) { in spm_mm_smc_handler() 340 &sp_ctx, x1, x2, x3)); in spm_mm_smc_handler()
|
A D | spm_mm_private.h | 56 void spm_sp_setup(sp_context_t *sp_ctx); 60 int32_t spm_memory_attributes_get_smc_handler(sp_context_t *sp_ctx, 62 int spm_memory_attributes_set_smc_handler(sp_context_t *sp_ctx,
|
A D | spm_mm_setup.c | 27 void spm_sp_setup(sp_context_t *sp_ctx) in spm_sp_setup() argument 29 cpu_context_t *ctx = &(sp_ctx->cpu_ctx); in spm_sp_setup() 105 mmap_add_region_ctx(sp_ctx->xlat_ctx_handle, in spm_sp_setup() 108 mmap_add_ctx(sp_ctx->xlat_ctx_handle, in spm_sp_setup() 111 init_xlat_tables_ctx(sp_ctx->xlat_ctx_handle); in spm_sp_setup() 117 xlat_ctx_t *xlat_ctx = sp_ctx->xlat_ctx_handle; in spm_sp_setup()
|
A D | spm_mm_xlat.c | 112 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()
|
/arm-trusted-firmware-2.8.0/services/std_svc/spm/el3_spmc/ |
A D | spmc_shared_mem.c | 1255 struct secure_partition_desc *sp_ctx) in spmc_ffa_mem_retrieve_set_ns_bit() argument 1257 if (sp_ctx->ffa_version > MAKE_FFA_VERSION(1, 0) || in spmc_ffa_mem_retrieve_set_ns_bit() 1258 sp_ctx->ns_bit_requested) { in spmc_ffa_mem_retrieve_set_ns_bit() 1317 struct secure_partition_desc *sp_ctx = spmc_get_current_sp_ctx(); in spmc_ffa_mem_retrieve_req() local 1445 if (!spmc_shmem_obj_validate_id(&obj->desc, sp_ctx->sp_id)) { in spmc_ffa_mem_retrieve_req() 1447 __func__, sp_ctx->sp_id); in spmc_ffa_mem_retrieve_req() 1544 spmc_ffa_mem_retrieve_set_ns_bit(resp, sp_ctx); in spmc_ffa_mem_retrieve_req() 1706 struct secure_partition_desc *sp_ctx = spmc_get_current_sp_ctx(); in spmc_ffa_mem_relinquish() local 1756 if (req->endpoint_array[0] != sp_ctx->sp_id) { in spmc_ffa_mem_relinquish() 1758 req->endpoint_array[0], sp_ctx->sp_id); in spmc_ffa_mem_relinquish() [all …]
|
A D | spmc_main.c | 1341 struct sp_exec_ctx *sp_ctx; in ffa_sec_ep_register_handler() local 1364 sp_ctx = spmc_get_sp_ec(sp); in ffa_sec_ep_register_handler() 1365 if (sp_ctx->rt_model != RT_MODEL_INIT) { in ffa_sec_ep_register_handler()
|
/arm-trusted-firmware-2.8.0/services/spd/tspd/ |
A D | tspd_private.h | 190 sp_ctx_regs_t sp_ctx; member
|
A D | tspd_main.c | 198 memcpy(&tsp_ctx->sp_ctx, &tsp_ctx->cpu_ctx, TSPD_SP_CTX_SIZE); in tspd_sel1_interrupt_handler() 402 memcpy(&tsp_ctx->cpu_ctx, &tsp_ctx->sp_ctx, in tspd_smc_handler()
|
Completed in 13 milliseconds