Home
last modified time | relevance | path

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

/rk3399_ARM-atf/services/std_svc/spm/spm_mm/
H A Dspm_mm_main.c33 static sp_context_t sp_ctx; variable
97 sp_context_t *ctx = &sp_ctx; in spm_sp_synchronous_exit()
119 ctx = &sp_ctx; in spm_init()
146 ctx = &sp_ctx; in spm_mm_setup()
167 sp_context_t *sp_ptr = &sp_ctx; in spm_mm_sp_call()
342 if (sp_ctx.state != SP_STATE_RESET) { in spm_mm_smc_handler()
351 &sp_ctx, x1, &page_count, &attr); in spm_mm_smc_handler()
361 if (sp_ctx.state != SP_STATE_RESET) { in spm_mm_smc_handler()
367 &sp_ctx, x1, x2, x3)); in spm_mm_smc_handler()
H A Dspm_mm_private.h56 void spm_sp_setup(sp_context_t *sp_ctx);
58 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,
H A Dspm_mm_xlat.c90 int32_t spm_memory_attributes_get_smc_handler(sp_context_t *sp_ctx, in spm_memory_attributes_get_smc_handler() argument
107 rc = xlat_get_mem_attributes_ctx(sp_ctx->xlat_ctx_handle, in spm_memory_attributes_get_smc_handler()
122 rc = xlat_get_mem_attributes_ctx(sp_ctx->xlat_ctx_handle, in spm_memory_attributes_get_smc_handler()
151 int spm_memory_attributes_set_smc_handler(sp_context_t *sp_ctx, in spm_memory_attributes_set_smc_handler() argument
166 int ret = xlat_change_mem_attributes_ctx(sp_ctx->xlat_ctx_handle, in spm_memory_attributes_set_smc_handler()
H A Dspm_mm_setup.c122 void spm_sp_setup(sp_context_t *sp_ctx) in spm_sp_setup() argument
124 cpu_context_t *ctx = &(sp_ctx->cpu_ctx); in spm_sp_setup()
209 mmap_add_region_ctx(sp_ctx->xlat_ctx_handle, in spm_sp_setup()
212 mmap_add_ctx(sp_ctx->xlat_ctx_handle, in spm_sp_setup()
215 init_xlat_tables_ctx(sp_ctx->xlat_ctx_handle); in spm_sp_setup()
221 xlat_ctx_t *xlat_ctx = sp_ctx->xlat_ctx_handle; in spm_sp_setup()
/rk3399_ARM-atf/services/std_svc/spm/el3_spmc/
H A Dspmc_shared_mem.c1452 struct secure_partition_desc *sp_ctx, in spmc_ffa_mem_retrieve_update_ns_bit() argument
1458 sp_ctx->ffa_version < MAKE_FFA_VERSION(1, 1) && in spmc_ffa_mem_retrieve_update_ns_bit()
1459 !sp_ctx->ns_bit_requested) { in spmc_ffa_mem_retrieve_update_ns_bit()
1532 struct secure_partition_desc *sp_ctx = spmc_get_current_sp_ctx(); in spmc_ffa_mem_retrieve_req() local
1657 !spmc_shmem_obj_validate_id(obj, sp_ctx->sp_id)) { in spmc_ffa_mem_retrieve_req()
1659 __func__, sp_ctx->sp_id); in spmc_ffa_mem_retrieve_req()
1759 spmc_ffa_mem_retrieve_update_ns_bit(resp, sp_ctx, secure_origin); in spmc_ffa_mem_retrieve_req()
1949 struct secure_partition_desc *sp_ctx = spmc_get_current_sp_ctx(); in spmc_ffa_mem_relinquish() local
1999 if (req->endpoint_array[0] != sp_ctx->sp_id) { in spmc_ffa_mem_relinquish()
2001 req->endpoint_array[0], sp_ctx->sp_id); in spmc_ffa_mem_relinquish()
[all …]
H A Dspmc_main.c1706 struct sp_exec_ctx *sp_ctx; in ffa_sec_ep_register_handler() local
1729 sp_ctx = spmc_get_sp_ec(sp); in ffa_sec_ep_register_handler()
1730 if (sp_ctx->rt_model != RT_MODEL_INIT) { in ffa_sec_ep_register_handler()
/rk3399_ARM-atf/services/spd/tspd/
H A Dtspd_private.h190 sp_ctx_regs_t sp_ctx; member
H A Dtspd_main.c198 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()