Home
last modified time | relevance | path

Searched refs:ProcessStackInfo (Results 1 – 1 of 1) sorted by relevance

/btstack/port/stm32-f4discovery-usb/Drivers/CMSIS/Core/Template/ARMv8-M/
H A Dtz_context.c45 static stack_info_t ProcessStackInfo [TZ_PROCESS_STACK_SLOTS]; variable
61 ProcessStackInfo[n].sp = 0U; in TZ_InitContextSystem_S()
62 ProcessStackInfo[n].sp_limit = (uint32_t)&ProcessStackMemory[n]; in TZ_InitContextSystem_S()
63 ProcessStackInfo[n].sp_top = (uint32_t)&ProcessStackMemory[n] + TZ_PROCESS_STACK_SIZE; in TZ_InitContextSystem_S()
102 ProcessStackInfo[slot].sp = ProcessStackInfo[slot].sp_top; in TZ_AllocModuleContext_S()
125 if (ProcessStackInfo[slot].sp == 0U) { in TZ_FreeModuleContext_S()
128 ProcessStackInfo[slot].sp = 0U; in TZ_FreeModuleContext_S()
154 if (ProcessStackInfo[slot].sp == 0U) { in TZ_LoadContext_S()
159 __set_PSPLIM(ProcessStackInfo[slot].sp_limit); in TZ_LoadContext_S()
160 __set_PSP (ProcessStackInfo[slot].sp); in TZ_LoadContext_S()
[all …]