summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2009-10-04 18:18:32 +0000
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2009-10-04 18:18:32 +0000
commit5156e92e219961c70ee626e0c44ae51a1f357fe8 (patch)
treec6df58c7c2863fc800ed9438634a8d84448a7f32
parent5f1aaf4fe7a06c3e98ee696a146971d5a3c66fe4 (diff)
downloadfreertos-5156e92e219961c70ee626e0c44ae51a1f357fe8.tar.gz
Add PRIVILEGED_FUNCTION qualifiers to port files.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@897 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
-rw-r--r--Source/include/portable.h8
1 files 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