Macros | Typedefs | Functions
stm32h735/stm32h735g-dk/Drivers/CMSIS/Include/tz_context.h File Reference
#include <stdint.h>
Include dependency graph for stm32h735/stm32h735g-dk/Drivers/CMSIS/Include/tz_context.h:

Go to the source code of this file.

Macros

#define TZ_CONTEXT_H
 
#define TZ_MODULEID_T
 

Typedefs

typedef uint32_t TZ_MemoryId_t
 
typedef uint32_t TZ_ModuleId_t
 

Functions

TZ_MemoryId_t TZ_AllocModuleContext_S (TZ_ModuleId_t module)
 
uint32_t TZ_FreeModuleContext_S (TZ_MemoryId_t id)
 
uint32_t TZ_InitContextSystem_S (void)
 
uint32_t TZ_LoadContext_S (TZ_MemoryId_t id)
 
uint32_t TZ_StoreContext_S (TZ_MemoryId_t id)
 

Macro Definition Documentation

◆ TZ_CONTEXT_H

#define TZ_CONTEXT_H

◆ TZ_MODULEID_T

#define TZ_MODULEID_T

Typedef Documentation

◆ TZ_MemoryId_t

typedef uint32_t TZ_MemoryId_t

TZ Memory ID identifies an allocated memory slot.

Definition at line 43 of file stm32h735/stm32h735g-dk/Drivers/CMSIS/Include/tz_context.h.

◆ TZ_ModuleId_t

typedef uint32_t TZ_ModuleId_t

Data type that identifies secure software modules called by a process.

Definition at line 39 of file stm32h735/stm32h735g-dk/Drivers/CMSIS/Include/tz_context.h.

Function Documentation

◆ TZ_AllocModuleContext_S()

TZ_MemoryId_t TZ_AllocModuleContext_S ( TZ_ModuleId_t  module)

Allocate context memory for calling secure software modules in TrustZone

Parameters
[in]moduleidentifies 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()

uint32_t TZ_FreeModuleContext_S ( TZ_MemoryId_t  id)

Free context memory that was previously allocated with TZ_AllocModuleContext_S

Parameters
[in]idTrustZone 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()

uint32_t TZ_LoadContext_S ( TZ_MemoryId_t  id)

Load secure context (called on RTOS thread context switch)

Parameters
[in]idTrustZone memory slot identifier
Returns
execution status (1: success, 0: error)

◆ TZ_StoreContext_S()

uint32_t TZ_StoreContext_S ( TZ_MemoryId_t  id)

Store secure context (called on RTOS thread context switch)

Parameters
[in]idTrustZone memory slot identifier
Returns
execution status (1: success, 0: error)


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:03