|
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
#include <stdbool.h>

Go to the source code of this file.
Data Structures | |
| struct | security_attr_info_t |
| struct | mem_attr_info_t |
Functions | |
| void | tfm_get_mem_region_security_attr (const void *p, size_t s, struct security_attr_info_t *p_attr) |
| Retrieve general security isolation configuration information of the target memory region according to the system memory region layout and fill the security_attr_info_t. More... | |
| void | tfm_get_secure_mem_region_attr (const void *p, size_t s, struct mem_attr_info_t *p_attr) |
| Retrieve general secure memory protection configuration information of the target memory region according to the system memory region layout and symbol addresses and fill the mem_attr_info_t. More... | |
| void | tfm_get_ns_mem_region_attr (const void *p, size_t s, struct mem_attr_info_t *p_attr) |
| Retrieve general non-secure memory protection configuration information of the target memory region according to the system memory region layout and fill the mem_attr_info_t. More... | |
| int32_t | tfm_has_access_to_region (const void *p, size_t s, uint32_t attr) |
| Check whether a memory access is allowed to access to a memory range. More... | |
| void tfm_get_mem_region_security_attr | ( | const void * | p, |
| size_t | s, | ||
| struct security_attr_info_t * | p_attr | ||
| ) |
Retrieve general security isolation configuration information of the target memory region according to the system memory region layout and fill the security_attr_info_t.
| [in] | p | Base address of target memory region |
| [in] | s | Size of target memory region |
| [out] | p_attr | Address of security_attr_info_t to be filled |
Definition at line 67 of file tfm_multi_core_mem_check.c.
| void tfm_get_ns_mem_region_attr | ( | const void * | p, |
| size_t | s, | ||
| struct mem_attr_info_t * | p_attr | ||
| ) |
Retrieve general non-secure memory protection configuration information of the target memory region according to the system memory region layout and fill the mem_attr_info_t.
| [in] | p | Base address of target memory region |
| [in] | s | Size of target memory region |
| [out] | p_attr | Address of mem_attr_info_t to be filled |
Definition at line 220 of file tfm_multi_core_mem_check.c.
| void tfm_get_secure_mem_region_attr | ( | const void * | p, |
| size_t | s, | ||
| struct mem_attr_info_t * | p_attr | ||
| ) |
Retrieve general secure memory protection configuration information of the target memory region according to the system memory region layout and symbol addresses and fill the mem_attr_info_t.
| [in] | p | Base address of target memory region |
| [in] | s | Size of target memory region |
| [out] | p_attr | Address of mem_attr_info_t to be filled |
Definition at line 108 of file tfm_multi_core_mem_check.c.
| int32_t tfm_has_access_to_region | ( | const void * | p, |
| size_t | s, | ||
| uint32_t | attr | ||
| ) |
Check whether a memory access is allowed to access to a memory range.
| [in] | p | The start address of the range to check |
| [in] | s | The size of the range to check |
| [in] | attr | The attributes indicating the access permissions. |
Definition at line 422 of file tfm_multi_core_mem_check.c.
