Home
last modified time | relevance | path

Searched refs:partition_attrs (Results 1 – 13 of 13) sorted by relevance

/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/common/
Dtfm_hal_isolation.c267 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
343 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
344 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
346 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
352 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
357 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
360 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
363 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
365 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
367 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32l5xx/secure/
Dtfm_hal_isolation.c271 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
334 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
335 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
337 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
343 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
348 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
351 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
354 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
356 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
358 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/
Dtfm_hal_isolation.c279 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
356 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
357 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
359 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
365 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
370 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
373 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
376 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
378 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
380 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/cypress/psoc64/
Dtfm_hal_isolation.c102 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
137 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
139 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/corstone1000/
Dtfm_hal_isolation.c245 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
258 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
260 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
262 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/
Dtfm_hal_isolation.c394 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
489 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
490 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
492 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
499 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
504 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
507 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
510 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
512 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
514 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/
Dtfm_hal_isolation.c339 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
405 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
406 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
408 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
414 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
419 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
422 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
425 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
427 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
429 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/
Dtfm_hal_isolation.c166 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
242 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
244 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
246 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/
Dtfm_hal_isolation.c174 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
252 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
254 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
256 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/common/
Dtfm_hal_isolation_v8m.c284 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
398 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
400 partition_attrs |= ((uint32_t)ns_agent_tz << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
402 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/secure/
Dtfm_hal_isolation.c362 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
425 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
427 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
429 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/nordic_nrf/common/core/
Dtfm_hal_isolation.c80 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
89 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
91 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
93 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/secure/
Dtfm_hal_isolation.c422 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
485 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
487 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
489 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()