X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FSource%2Fportable%2FIAR%2FARM_CM23_NTZ%2Fnon_secure%2Fport.c;h=92ef5ffb3cde4f56277856e4051038e5e58754c4;hb=5d4f6c6548cca359508c57cfc977b20ed6254f81;hp=63d292ead59ab7f6c52f56a4d3a374bec2b55158;hpb=fc365008ba186ac46fa24fb8d1f7b4a61e639b71;p=freertos diff --git a/FreeRTOS/Source/portable/IAR/ARM_CM23_NTZ/non_secure/port.c b/FreeRTOS/Source/portable/IAR/ARM_CM23_NTZ/non_secure/port.c index 63d292ead..92ef5ffb3 100644 --- a/FreeRTOS/Source/portable/IAR/ARM_CM23_NTZ/non_secure/port.c +++ b/FreeRTOS/Source/portable/IAR/ARM_CM23_NTZ/non_secure/port.c @@ -305,7 +305,7 @@ void SysTick_Handler( void ) PRIVILEGED_FUNCTION; /** * @brief C part of SVC handler. */ -void vPortSVCHandler_C( uint32_t *pulCallerStackAddress ) PRIVILEGED_FUNCTION; +portDONT_DISCARD void vPortSVCHandler_C( uint32_t *pulCallerStackAddress ) PRIVILEGED_FUNCTION; /*-----------------------------------------------------------*/ /** @@ -319,7 +319,7 @@ static volatile uint32_t ulCriticalNesting = 0xaaaaaaaaUL; * @brief Saved as part of the task context to indicate which context the * task is using on the secure side. */ - volatile SecureContextHandle_t xSecureContext = portNO_SECURE_CONTEXT; + portDONT_DISCARD volatile SecureContextHandle_t xSecureContext = portNO_SECURE_CONTEXT; #endif /* configENABLE_TRUSTZONE */ /*-----------------------------------------------------------*/ @@ -523,7 +523,7 @@ uint32_t ulPreviousMask; } /*-----------------------------------------------------------*/ -void vPortSVCHandler_C( uint32_t *pulCallerStackAddress ) /* PRIVILEGED_FUNCTION */ +void vPortSVCHandler_C( uint32_t *pulCallerStackAddress ) /* PRIVILEGED_FUNCTION portDONT_DISCARD */ { #if( configENABLE_MPU == 1 ) #if defined( __ARMCC_VERSION )