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

Go to the source code of this file.
Macros | |
| #define | TZ_MODULEID_T |
Typedefs | |
| typedef uint32_t | TZ_ModuleId_t |
| typedef uint32_t | TZ_MemoryId_t |
Functions | |
| uint32_t | TZ_InitContextSystem_S (void) |
| TZ_MemoryId_t | TZ_AllocModuleContext_S (TZ_ModuleId_t module) |
| uint32_t | TZ_FreeModuleContext_S (TZ_MemoryId_t id) |
| uint32_t | TZ_LoadContext_S (TZ_MemoryId_t id) |
| uint32_t | TZ_StoreContext_S (TZ_MemoryId_t id) |
| #define TZ_MODULEID_T |
Definition at line 36 of file tz_context.h.
| typedef uint32_t TZ_MemoryId_t |
TZ Memory ID identifies an allocated memory slot.
Definition at line 42 of file tz_context.h.
| typedef uint32_t TZ_ModuleId_t |
Data type that identifies secure software modules called by a process.
Definition at line 38 of file tz_context.h.
| TZ_MemoryId_t TZ_AllocModuleContext_S | ( | TZ_ModuleId_t | module | ) |
Allocate context memory for calling secure software modules in TrustZone
| [in] | module | identifies software modules called from non-secure mode |
Definition at line 117 of file tfm_nspm_func.c.

| uint32_t TZ_FreeModuleContext_S | ( | TZ_MemoryId_t | id | ) |
Free context memory that was previously allocated with TZ_AllocModuleContext_S
| [in] | id | TrustZone memory slot identifier |
Definition at line 149 of file tfm_nspm_func.c.

| uint32_t TZ_InitContextSystem_S | ( | void | ) |
Initialize secure context memory system
Definition at line 85 of file tfm_nspm_func.c.

| uint32_t TZ_LoadContext_S | ( | TZ_MemoryId_t | id | ) |
Load secure context (called on RTOS thread context switch)
| [in] | id | TrustZone memory slot identifier |
Definition at line 194 of file tfm_nspm_func.c.

| uint32_t TZ_StoreContext_S | ( | TZ_MemoryId_t | id | ) |
Store secure context (called on RTOS thread context switch)
| [in] | id | TrustZone memory slot identifier |
Definition at line 233 of file tfm_nspm_func.c.
