Lines Matching refs:xSecureContexts
75 SecureContext_t xSecureContexts[ secureconfigMAX_SECURE_CONTEXTS ]; variable
108 if( ( xSecureContexts[ i ].pucCurrentStackPointer == NULL ) && in ulGetSecureContext()
109 ( xSecureContexts[ i ].pucStackLimit == NULL ) && in ulGetSecureContext()
110 ( xSecureContexts[ i ].pucStackStart == NULL ) && in ulGetSecureContext()
111 ( xSecureContexts[ i ].pvTaskHandle == NULL ) && in ulGetSecureContext()
116 else if( xSecureContexts[ i ].pvTaskHandle == pvTaskHandle ) in ulGetSecureContext()
131 xSecureContexts[ ulSecureContextIndex ].pucCurrentStackPointer = NULL; in vReturnSecureContext()
132 xSecureContexts[ ulSecureContextIndex ].pucStackLimit = NULL; in vReturnSecureContext()
133 xSecureContexts[ ulSecureContextIndex ].pucStackStart = NULL; in vReturnSecureContext()
134 xSecureContexts[ ulSecureContextIndex ].pvTaskHandle = NULL; in vReturnSecureContext()
160 xSecureContexts[ i ].pucCurrentStackPointer = NULL; in SecureContext_Init()
161 xSecureContexts[ i ].pucStackLimit = NULL; in SecureContext_Init()
162 xSecureContexts[ i ].pucStackStart = NULL; in SecureContext_Init()
163 xSecureContexts[ i ].pvTaskHandle = NULL; in SecureContext_Init()
227 … xSecureContexts[ ulSecureContextIndex ].pucStackStart = pucStackMemory + ulSecureStackSize; in SecureContext_AllocateContext()
235 xSecureContexts[ ulSecureContextIndex ].pucStackLimit = pucStackMemory; in SecureContext_AllocateContext()
237 xSecureContexts[ ulSecureContextIndex ].pvTaskHandle = pvTaskHandle; in SecureContext_AllocateContext()
244 … pulCurrentStackPointer = ( uint32_t * ) xSecureContexts[ ulSecureContextIndex ].pucStackStart; in SecureContext_AllocateContext()
258 …xSecureContexts[ ulSecureContextIndex ].pucCurrentStackPointer = ( uint8_t * ) pulCurrentStackPoin… in SecureContext_AllocateContext()
264 …xSecureContexts[ ulSecureContextIndex ].pucCurrentStackPointer = xSecureContexts[ ulSecureContextI… in SecureContext_AllocateContext()
296 if( xSecureContexts[ ulSecureContextIndex ].pvTaskHandle == pvTaskHandle ) in SecureContext_FreeContext()
299 vPortFree( xSecureContexts[ ulSecureContextIndex ].pucStackLimit ); in SecureContext_FreeContext()
323 ( xSecureContexts[ ulSecureContextIndex ].pvTaskHandle == pvTaskHandle ) ) in SecureContext_LoadContext()
325 SecureContext_LoadContextAsm( &( xSecureContexts[ ulSecureContextIndex ] ) ); in SecureContext_LoadContext()
344 if( ( xSecureContexts[ ulSecureContextIndex ].pucStackLimit == pucStackLimit ) && in SecureContext_SaveContext()
345 ( xSecureContexts[ ulSecureContextIndex ].pvTaskHandle == pvTaskHandle ) ) in SecureContext_SaveContext()
347 SecureContext_SaveContextAsm( &( xSecureContexts[ ulSecureContextIndex ] ) ); in SecureContext_SaveContext()