CMSIS-Core (Cortex-M)  
CMSIS-Core support for Cortex-M processor-based devices
 
Loading...
Searching...
No Matches
Stack Sealing Support Functions

Stack sealing macros and helper functions. More...

Macros

#define __STACK_SEAL
 Compiler/linker symbol specifying the location of the stack seal.
 

Functions

void __TZ_set_STACKSEAL_S (uint32_t *stackTop)
 Set stack seal at given address (secure)
 

Description

Stack sealing macros and helper functions.

See Stack Sealing for details on stack sealing technique.

Macro Definition Documentation

◆ __STACK_SEAL

#define __STACK_SEAL

Compiler/linker symbol specifying the location of the stack seal.

The address of the specified symbol is used to set the stack seal during low level init. This is compiler/linker specific. CMSIS specifies common default for supported compilers.

Note
This define is only intended to be used by the Startup File startup_<Device>.c.

Function Documentation

◆ __TZ_set_STACKSEAL_S()

void __TZ_set_STACKSEAL_S ( uint32_t *  stackTop)

Set stack seal at given address (secure)

Writes the stack seal values (2 x 0xFEF5EDA5U) to the given address when in secure state.

Parameters
[in]stackTopaddress to write stackseal