Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/
Dtfm_hal_isolation.c260 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
336 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
337 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
339 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
345 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
350 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
353 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
356 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
358 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
360 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/secure/
Dtfm_hal_isolation.c263 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
326 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
327 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
329 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
335 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
340 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
343 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
346 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
348 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
350 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/
Dtfm_hal_isolation.c98 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
134 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
136 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
138 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_b1/
Dtfm_hal_isolation.c272 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
349 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
350 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
352 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
358 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
363 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
366 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
369 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
371 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
373 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/
Dtfm_hal_isolation.c305 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
368 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
369 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
371 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
376 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
381 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
384 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
387 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
389 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
391 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/
Dtfm_hal_isolation.c172 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
185 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
187 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
189 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an521/
Dtfm_hal_isolation.c384 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
479 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
480 partition_attrs |= ((j + 1) & HANDLE_ATTR_INDEX_MASK); in tfm_hal_bind_boundary()
482 partition_attrs |= HANDLE_ATTR_RW_POS; in tfm_hal_bind_boundary()
489 partition_attrs <<= HANDLE_PER_ATTR_BITS; in tfm_hal_bind_boundary()
494 if (partition_attrs & HANDLE_INDEX_MASK) { in tfm_hal_bind_boundary()
497 HANDLE_ENCODE_INDEX(partition_attrs, idx_boundary_handle); in tfm_hal_bind_boundary()
500 partition_attrs |= ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
502 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
504 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.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.4.0/platform/ext/target/arm/rss/common/
Dtfm_hal_isolation.c189 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
268 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
270 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
272 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/common/
Dtfm_hal_isolation.c185 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
264 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
266 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
268 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an547/
Dtfm_hal_isolation.c185 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
264 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
266 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
268 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/
Dtfm_hal_isolation.c185 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
264 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
266 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
268 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an524/
Dtfm_hal_isolation.c171 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
233 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
235 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
237 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.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.4.0/platform/ext/target/stm/common/stm32u5xx/secure/
Dtfm_hal_isolation.c353 uint32_t partition_attrs = 0; in tfm_hal_bind_boundary() local
416 partition_attrs = ((uint32_t)privileged << HANDLE_ATTR_PRIV_POS) & in tfm_hal_bind_boundary()
418 partition_attrs |= ((uint32_t)ns_agent << HANDLE_ATTR_NS_POS) & in tfm_hal_bind_boundary()
420 *p_boundary = (uintptr_t)partition_attrs; in tfm_hal_bind_boundary()
/trusted-firmware-m-3.4.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()