From 90478b8c27bda247512ffa9ae380bd63de92d359 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 4 Oct 2009 18:18:32 +0000 Subject: [PATCH] Add PRIVILEGED_FUNCTION qualifiers to port files. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@897 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/include/portable.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/include/portable.h b/Source/include/portable.h index 3a279d879..6e2df1d0c 100644 --- a/Source/include/portable.h +++ b/Source/include/portable.h @@ -338,7 +338,7 @@ extern "C" { * */ #if( portUSING_MPU_WRAPPERS == 1 ) - portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters, portBASE_TYPE xRunPrivileged ); + portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters, portBASE_TYPE xRunPrivileged ) PRIVILEGED_FUNCTION; #else portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters ); #endif @@ -354,14 +354,14 @@ void vPortInitialiseBlocks( void ) PRIVILEGED_FUNCTION; * Setup the hardware ready for the scheduler to take control. This generally * sets up a tick interrupt and sets timers for the correct tick frequency. */ -portBASE_TYPE xPortStartScheduler( void ); +portBASE_TYPE xPortStartScheduler( void ) PRIVILEGED_FUNCTION; /* * Undo any hardware/ISR setup that was performed by xPortStartScheduler() so * the hardware is left in its original condition after the scheduler stops * executing. */ -void vPortEndScheduler( void ); +void vPortEndScheduler( void ) PRIVILEGED_FUNCTION; /* * The structures and methods of manipulating the MPU are contained within the @@ -372,7 +372,7 @@ void vPortEndScheduler( void ); */ #if( portUSING_MPU_WRAPPERS == 1 ) struct xMEMORY_REGION; - void vPortStoreTaskMPUSettings( xMPU_SETTINGS *xMPUSettings, const struct xMEMORY_REGION * const xRegions, portSTACK_TYPE *pxBottomOfStack, unsigned portSHORT usStackDepth ); + void vPortStoreTaskMPUSettings( xMPU_SETTINGS *xMPUSettings, const struct xMEMORY_REGION * const xRegions, portSTACK_TYPE *pxBottomOfStack, unsigned portSHORT usStackDepth ) PRIVILEGED_FUNCTION; #endif #ifdef __cplusplus -- 2.39.5