![]() |
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
Go to the source code of this file.
Functions | |
enum tfm_platform_err_t | tfm_platform_system_reset (void) |
Resets the system. More... | |
enum tfm_platform_err_t | tfm_platform_ioctl (tfm_platform_ioctl_req_t request, psa_invec *input, psa_outvec *output) |
Performs a platform-specific service. More... | |
enum tfm_platform_err_t | tfm_platform_nv_counter_increment (uint32_t counter_id) |
Increments the given non-volatile (NV) counter by one. More... | |
enum tfm_platform_err_t | tfm_platform_nv_counter_read (uint32_t counter_id, uint32_t size, uint8_t *val) |
Reads the given non-volatile (NV) counter. More... | |
enum tfm_platform_err_t tfm_platform_ioctl | ( | tfm_platform_ioctl_req_t | request, |
psa_invec * | input, | ||
psa_outvec * | output | ||
) |
Performs a platform-specific service.
[in] | request | Request identifier (valid values vary based on the platform) |
[in] | input | Input buffer to the requested service (or NULL) |
[in,out] | output | Output buffer to the requested service (or NULL) |
Definition at line 44 of file tfm_platform_secure_api.c.
enum tfm_platform_err_t tfm_platform_nv_counter_increment | ( | uint32_t | counter_id | ) |
Increments the given non-volatile (NV) counter by one.
[in] | counter_id | NV counter ID. |
Definition at line 95 of file tfm_platform_secure_api.c.
enum tfm_platform_err_t tfm_platform_nv_counter_read | ( | uint32_t | counter_id, |
uint32_t | size, | ||
uint8_t * | val | ||
) |
Reads the given non-volatile (NV) counter.
[in] | counter_id | NV counter ID. |
[in] | size | Size of the buffer to store NV counter value in bytes. |
[out] | val | Pointer to store the current NV counter value. |
Definition at line 132 of file tfm_platform_secure_api.c.
enum tfm_platform_err_t tfm_platform_system_reset | ( | void | ) |
Resets the system.
Definition at line 15 of file tfm_platform_secure_api.c.