#include <stdint.h>
Go to the source code of this file.
◆ TZ_CONTEXT_H
◆ TZ_MODULEID_T
◆ TZ_MemoryId_t
◆ TZ_ModuleId_t
◆ TZ_AllocModuleContext_S()
Allocate context memory for calling secure software modules in TrustZone
- Parameters
-
[in] | module | identifies software modules called from non-secure mode |
- Returns
- value != 0 id TrustZone memory slot identifier
-
value 0 no memory available or internal error
◆ TZ_FreeModuleContext_S()
Free context memory that was previously allocated with TZ_AllocModuleContext_S
- Parameters
-
[in] | id | TrustZone memory slot identifier |
- Returns
- execution status (1: success, 0: error)
◆ TZ_InitContextSystem_S()
uint32_t TZ_InitContextSystem_S |
( |
void |
| ) |
|
Initialize secure context memory system
- Returns
- execution status (1: success, 0: error)
◆ TZ_LoadContext_S()
Load secure context (called on RTOS thread context switch)
- Parameters
-
[in] | id | TrustZone memory slot identifier |
- Returns
- execution status (1: success, 0: error)
◆ TZ_StoreContext_S()
Store secure context (called on RTOS thread context switch)
- Parameters
-
[in] | id | TrustZone memory slot identifier |
- Returns
- execution status (1: success, 0: error)