Home
last modified time | relevance | path

Searched refs:p_ldinf (Results 1 – 25 of 31) sorted by relevance

12

/trusted-firmware-m-3.7.0/secure_fw/spm/core/
Drom_loader.c109 if (!IS_NS_AGENT(partition->p_ldinf)) { in load_a_partition_assuredly()
112 client_id_base = partition->p_ldinf->client_id_base; in load_a_partition_assuredly()
113 client_id_limit = partition->p_ldinf->client_id_limit; in load_a_partition_assuredly()
122 partition->p_ldinf = p_ptldinf; in load_a_partition_assuredly()
145 p_ptldinf = p_partition->p_ldinf; in load_services_assuredly()
154 services[i].p_ldinf = &p_servldinf[i]; in load_services_assuredly()
189 const struct partition_load_info_t *p_ldinf; in load_irqs_assuredly() local
196 p_ldinf = p_partition->p_ldinf; in load_irqs_assuredly()
197 p_irq_info = LOAD_INFO_IRQ(p_ldinf); in load_irqs_assuredly()
199 for (i = 0; i < p_ldinf->nirqs; i++) { in load_irqs_assuredly()
[all …]
Dbackend_sfn.c48 !p_connection->service->p_ldinf || in backend_messaging()
59 if (p_target->p_ldinf->entry != 0) { in backend_messaging()
60 status = ((sfn_init_fn_t)p_target->p_ldinf->entry)(NULL); in backend_messaging()
69 status = ((service_fn_t)p_connection->service->p_ldinf->sfn)(&p_connection->msg); in backend_messaging()
101 if (IS_IPC_MODEL(p_part->p_ldinf)) { in spm_init_function()
111 if (p_part->p_ldinf->entry != 0) { in spm_init_function()
112 status = ((sfn_init_fn_t)p_part->p_ldinf->entry)(NULL); in spm_init_function()
130 const struct partition_load_info_t *p_pldi = p_pt->p_ldinf; in backend_init_comp_assuredly()
143 tz_ns_agent_register_client_id_range(p_pt->p_ldinf->client_id_base, in backend_init_comp_assuredly()
144 p_pt->p_ldinf->client_id_limit); in backend_init_comp_assuredly()
[all …]
Dspm_ipc.c65 if (p_handle_iter->service->p_ldinf->signal == signal) { in spm_get_handle_by_signal()
91 if (p_curr->p_ldinf->sid == sid) { in tfm_spm_get_service_by_sid()
115 if (p_part->p_ldinf->pid == partition_id) { in tfm_spm_get_partition_by_id()
129 switch (SERVICE_GET_VERSION_POLICY(service->p_ldinf->flags)) { in tfm_spm_check_client_version()
131 if (version > service->p_ldinf->version) { in tfm_spm_check_client_version()
136 if (version != service->p_ldinf->version) { in tfm_spm_check_client_version()
157 if (!SERVICE_IS_NS_ACCESSIBLE(service->p_ldinf->flags)) { in tfm_spm_check_authorization()
166 dep = LOAD_INFO_DEPS(partition->p_ldinf); in tfm_spm_check_authorization()
167 for (i = 0; i < partition->p_ldinf->ndeps; i++) { in tfm_spm_check_authorization()
173 if (i == partition->p_ldinf->ndeps) { in tfm_spm_check_authorization()
[all …]
Dinterrupt.c57 sp_base = LOAD_ALLOCED_STACK_ADDR(p_owner_sp->p_ldinf) in tfm_flih_prepare_depriv_flih()
58 + p_owner_sp->p_ldinf->stack_size; in tfm_flih_prepare_depriv_flih()
59 sp_limit = LOAD_ALLOCED_STACK_ADDR(p_owner_sp->p_ldinf); in tfm_flih_prepare_depriv_flih()
73 p_owner_sp->p_ldinf, p_owner_sp->boundary); in tfm_flih_prepare_depriv_flih()
109 p_prev_sp->p_ldinf, p_prev_sp->boundary); in tfm_flih_return_to_isr()
133 const struct partition_load_info_t *p_ldinf, in get_irq_info_for_signal() argument
143 irq_info = LOAD_INFO_IRQ(p_ldinf); in get_irq_info_for_signal()
144 for (i = 0; i < p_ldinf->nirqs; i++) { in get_irq_info_for_signal()
166 if (p_ildi->pid != p_part->p_ldinf->pid) { in spm_handle_interrupt()
Dstack_watermark.c26 const struct partition_load_info_t *p_pldi = p_pt->p_ldinf; in watermark_stack()
36 const struct partition_load_info_t *p_pldi = p_pt->p_ldinf; in used_stack()
57 SPMLOG_VAL(" Partition id: ", p_pt->p_ldinf->pid); in dump_used_stacks()
58 SPMLOG_VAL(" Stack bytes: ", p_pt->p_ldinf->stack_size); in dump_used_stacks()
Dbackend_ipc.c133 p_pt_ldi = p_pt->p_ldinf; in prv_process_metadata()
187 !p_connection->service->p_ldinf || in backend_messaging()
193 signal = p_connection->service->p_ldinf->signal; in backend_messaging()
256 if (IS_NS_AGENT_MAILBOX(p_pt->p_ldinf)) { in partition_init()
262 if (IS_IPC_MODEL(p_pt->p_ldinf)) { in partition_init()
264 thrd_entry = POSITION_TO_ENTRY(p_pt->p_ldinf->entry, thrd_fn_t); in partition_init()
282 tz_ns_agent_register_client_id_range(p_pt->p_ldinf->client_id_base, in ns_agent_tz_init()
283 p_pt->p_ldinf->client_id_limit); in ns_agent_tz_init()
288 thrd_entry = POSITION_TO_ENTRY(p_pt->p_ldinf->entry, thrd_fn_t); in ns_agent_tz_init()
310 const struct partition_load_info_t *p_pldi = p_pt->p_ldinf; in backend_init_comp_assuredly()
[all …]
Dpsa_irq_api.c25 irq_info = get_irq_info_for_signal(partition->p_ldinf, irq_signal); in tfm_spm_partition_psa_irq_enable()
42 irq_info = get_irq_info_for_signal(partition->p_ldinf, irq_signal); in tfm_spm_partition_psa_irq_disable()
62 irq_info = get_irq_info_for_signal(partition->p_ldinf, irq_signal); in tfm_spm_partition_psa_reset_signal()
95 irq_info = get_irq_info_for_signal(partition->p_ldinf, irq_signal); in tfm_spm_partition_psa_eoi()
Dpsa_mmiovec_api.c35 if (!SERVICE_ENABLED_MM_IOVEC(handle->service->p_ldinf->flags)) { in tfm_spm_partition_psa_map_invec()
107 if (!SERVICE_ENABLED_MM_IOVEC(handle->service->p_ldinf->flags)) { in tfm_spm_partition_psa_unmap_invec()
165 if (!SERVICE_ENABLED_MM_IOVEC(handle->service->p_ldinf->flags)) { in tfm_spm_partition_psa_map_outvec()
235 if (!SERVICE_ENABLED_MM_IOVEC(handle->service->p_ldinf->flags)) { in tfm_spm_partition_psa_unmap_outvec()
Dmailbox_agent_api.c65 if (!IS_NS_AGENT_MAILBOX(curr_partition->p_ldinf)) { in tfm_spm_agent_psa_connect()
88 if ((!IS_NS_AGENT_MAILBOX(curr_partition->p_ldinf)) || (ns_client_id >= 0)) { in tfm_spm_agent_psa_close()
Dpsa_connection_api.c55 if (SERVICE_IS_STATELESS(service->p_ldinf->flags)) { in spm_psa_connect_client_id_associated()
140 if (SERVICE_IS_STATELESS(handle->service->p_ldinf->flags)) { in tfm_spm_partition_psa_set_rhandle()
Dinterrupt.h31 const struct partition_load_info_t *p_ldinf,
/trusted-firmware-m-3.7.0/platform/ext/target/cypress/psoc64/
Dtfm_hal_isolation.c97 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
105 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
112 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
115 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
123 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
145 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/
Dtfm_hal_isolation.c160 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
172 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
179 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
182 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
183 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
191 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
252 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/common/
Dtfm_hal_isolation.c261 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
274 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
281 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
284 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
285 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
293 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
373 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
397 if (!p_ldinf) { in tfm_hal_activate_boundary()
411 rt_mem = (struct asset_desc_t *)LOAD_INFO_ASSET(p_ldinf); in tfm_hal_activate_boundary()
417 i < p_ldinf->nassets && !(rt_mem[i].attr & ASSET_ATTR_MMIO); in tfm_hal_activate_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/secure/
Dtfm_hal_isolation.c265 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
278 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
285 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
288 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
289 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
297 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
364 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
388 if (!p_ldinf) { in tfm_hal_activate_boundary()
402 rt_mem = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_activate_boundary()
408 i < p_ldinf->nassets && !(rt_mem[i].attr & ASSET_ATTR_MMIO); in tfm_hal_activate_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/
Dtfm_hal_isolation.c273 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
286 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
293 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
296 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
297 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
305 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
386 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
410 if (!p_ldinf) { in tfm_hal_activate_boundary()
424 rt_mem = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_activate_boundary()
430 i < p_ldinf->nassets && !(rt_mem[i].attr & ASSET_ATTR_MMIO); in tfm_hal_activate_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/
Dtfm_hal_isolation.c168 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
180 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
187 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
190 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
191 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
201 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
262 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
/trusted-firmware-m-3.7.0/platform/ext/target/arm/corstone1000/
Dtfm_hal_isolation.c240 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
247 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
254 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
257 ns_agent = IS_NS_AGENT_TZ(p_ldinf); in tfm_hal_bind_boundary()
271 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
/trusted-firmware-m-3.7.0/platform/include/
Dtfm_hal_isolation.h69 const struct partition_load_info_t *p_ldinf,
113 const struct partition_load_info_t *p_ldinf,
/trusted-firmware-m-3.7.0/platform/ext/common/
Dtfm_hal_isolation_v8m.c278 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
294 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
301 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
304 ns_agent_tz = IS_NS_AGENT_TZ(p_ldinf); in tfm_hal_bind_boundary()
305 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
315 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
408 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/secure/
Dtfm_hal_isolation.c356 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
369 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
376 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
379 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
380 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
388 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
435 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
/trusted-firmware-m-3.7.0/platform/ext/target/nordic_nrf/common/core/
Dtfm_hal_isolation.c71 tfm_hal_bind_boundary(const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
74 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
85 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
88 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
95 for (uint32_t i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
97 LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
159 tfm_hal_activate_boundary(const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/
Dtfm_hal_isolation.c389 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
405 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
412 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
415 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
425 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
427 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
520 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
548 if (!p_ldinf) { in tfm_hal_activate_boundary()
562 rt_mem = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_activate_boundary()
568 i < p_ldinf->nassets && !(rt_mem[i].attr & ASSET_ATTR_MMIO); in tfm_hal_activate_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/secure/
Dtfm_hal_isolation.c416 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
429 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
436 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
439 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
440 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
448 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
495 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/
Dtfm_hal_isolation.c333 const struct partition_load_info_t *p_ldinf, in tfm_hal_bind_boundary() argument
347 if (!p_ldinf || !p_boundary) { in tfm_hal_bind_boundary()
354 privileged = IS_PSA_ROT(p_ldinf); in tfm_hal_bind_boundary()
357 ns_agent = IS_NS_AGENT(p_ldinf); in tfm_hal_bind_boundary()
358 p_asset = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_bind_boundary()
366 for (i = 0; i < p_ldinf->nassets; i++) { in tfm_hal_bind_boundary()
435 const struct partition_load_info_t *p_ldinf, in tfm_hal_activate_boundary() argument
460 if (!p_ldinf) { in tfm_hal_activate_boundary()
474 rt_mem = LOAD_INFO_ASSET(p_ldinf); in tfm_hal_activate_boundary()
480 i < p_ldinf->nassets && !(rt_mem[i].attr & ASSET_ATTR_MMIO); in tfm_hal_activate_boundary()

12