![]() |
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
#include "platform_sp.h"
#include "tfm_platform_system.h"
#include "tfm_plat_nv_counters.h"
#include "tfm/tfm_spm_services.h"
#include "tfm_secure_api.h"
#include "psa_manifest/pid.h"
Go to the source code of this file.
Macros | |
#define | NV_COUNTER_ID_SIZE sizeof(enum tfm_nv_counter_t) |
#define | NV_COUNTER_MAP_SIZE 3 |
Functions | |
enum tfm_platform_err_t | platform_sp_system_reset (void) |
Resets the system. More... | |
enum tfm_platform_err_t | platform_sp_ioctl (psa_invec *in_vec, uint32_t num_invec, psa_outvec *out_vec, uint32_t num_outvec) |
enum tfm_platform_err_t | platform_sp_nv_counter_read (psa_invec *in_vec, uint32_t num_invec, psa_outvec *out_vec, uint32_t num_outvec) |
enum tfm_platform_err_t | platform_sp_nv_counter_increment (psa_invec *in_vec, uint32_t num_invec, psa_outvec *out_vec, uint32_t num_outvec) |
enum tfm_platform_err_t | platform_sp_init (void) |
Initializes the secure partition. More... | |
#define NV_COUNTER_ID_SIZE sizeof(enum tfm_nv_counter_t) |
Definition at line 16 of file platform_sp.c.
#define NV_COUNTER_MAP_SIZE 3 |
Definition at line 17 of file platform_sp.c.
enum tfm_platform_err_t platform_sp_init | ( | void | ) |
Initializes the secure partition.
Definition at line 340 of file platform_sp.c.
enum tfm_platform_err_t platform_sp_ioctl | ( | psa_invec * | in_vec, |
uint32_t | num_invec, | ||
psa_outvec * | out_vec, | ||
uint32_t | num_outvec | ||
) |
Definition at line 88 of file platform_sp.c.
enum tfm_platform_err_t platform_sp_nv_counter_increment | ( | psa_invec * | in_vec, |
uint32_t | num_invec, | ||
psa_outvec * | out_vec, | ||
uint32_t | num_outvec | ||
) |
enum tfm_platform_err_t platform_sp_nv_counter_read | ( | psa_invec * | in_vec, |
uint32_t | num_invec, | ||
psa_outvec * | out_vec, | ||
uint32_t | num_outvec | ||
) |
enum tfm_platform_err_t platform_sp_system_reset | ( | void | ) |
Resets the system.
Definition at line 68 of file platform_sp.c.