From da7e7e21b4b51ee6a2b816f9d32d3bd3aff29ca1 Mon Sep 17 00:00:00 2001 From: rtel Date: Tue, 19 Feb 2019 02:57:44 +0000 Subject: [PATCH] Update the common demo death.c to use the updated macro name to give it a secure context. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2636 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- FreeRTOS/Demo/Common/Minimal/death.c | 2 +- FreeRTOS/Source/portable/RVDS/ARM_CM4_MPU/portmacro.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/FreeRTOS/Demo/Common/Minimal/death.c b/FreeRTOS/Demo/Common/Minimal/death.c index cfa0cea84..ce7fa420e 100644 --- a/FreeRTOS/Demo/Common/Minimal/death.c +++ b/FreeRTOS/Demo/Common/Minimal/death.c @@ -98,7 +98,7 @@ TaskHandle_t xTaskToKill; const TickType_t xDelay = pdMS_TO_TICKS( ( TickType_t ) 200 ); /* Test deletion of a task's secure context, if any. */ - portTASK_CALLS_SECURE_FUNCTIONS(); + portALLOCATE_SECURE_CONTEXT( configMINIMAL_SECURE_STACK_SIZE ); if( pvParameters != NULL ) { diff --git a/FreeRTOS/Source/portable/RVDS/ARM_CM4_MPU/portmacro.h b/FreeRTOS/Source/portable/RVDS/ARM_CM4_MPU/portmacro.h index 60bb7b619..f30f23584 100644 --- a/FreeRTOS/Source/portable/RVDS/ARM_CM4_MPU/portmacro.h +++ b/FreeRTOS/Source/portable/RVDS/ARM_CM4_MPU/portmacro.h @@ -306,3 +306,4 @@ BaseType_t xReturn; #endif #endif /* PORTMACRO_H */ + -- 2.39.2