CMSIS-Core (Cortex-M)  Version 5.5.0
CMSIS-Core support for Cortex-M processor-based devices
 All Data Structures Files Functions Variables Enumerations Enumerator Groups Pages
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. More...
 

Functions

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

Description

Stack sealing macros and helper functions.

See Stack Sealing for details on stack sealing technique.

Macro Definition Documentation

#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

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