]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/include/portable.h
Linting and MISRA checking
[freertos] / FreeRTOS / Source / include / portable.h
index cd4fa3b523a3f6963d4adcd1cd617bc5f7620b57..5ad56178aedacc000a9b63889f0c02cf8b9b5f34 100644 (file)
     ***************************************************************************\r
 \r
 \r
-    http://www.FreeRTOS.org - Documentation, books, training, latest versions, \r
+    http://www.FreeRTOS.org - Documentation, books, training, latest versions,\r
     license and Real Time Engineers Ltd. contact details.\r
 \r
     http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
     including FreeRTOS+Trace - an indispensable productivity tool, and our new\r
     fully thread aware and reentrant UDP/IP stack.\r
 \r
-    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High \r
-    Integrity Systems, who sell the code with commercial support, \r
+    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High\r
+    Integrity Systems, who sell the code with commercial support,\r
     indemnification and middleware, under the OpenRTOS brand.\r
-    \r
-    http://www.SafeRTOS.com - High Integrity Systems also provide a safety \r
-    engineered and independently SIL3 certified version for use in safety and \r
+\r
+    http://www.SafeRTOS.com - High Integrity Systems also provide a safety\r
+    engineered and independently SIL3 certified version for use in safety and\r
     mission critical applications that require provable dependability.\r
 */\r
 \r
 #endif\r
 \r
 #ifdef IAR_MSP430\r
-       #include "..\..\Source\portable\IAR\MSP430\portmacro.h" \r
+       #include "..\..\Source\portable\IAR\MSP430\portmacro.h"\r
 #endif\r
-       \r
+\r
 #ifdef GCC_MSP430\r
        #include "../../Source/portable/GCC/MSP430F449/portmacro.h"\r
 #endif\r
 #ifdef STR75X_IAR\r
        #include "..\..\Source\portable\IAR\STR75x\portmacro.h"\r
 #endif\r
-       \r
+\r
 #ifdef STR75X_GCC\r
        #include "..\..\Source\portable\GCC\STR75x\portmacro.h"\r
 #endif\r
 #ifdef STR91X_IAR\r
        #include "..\..\Source\portable\IAR\STR91x\portmacro.h"\r
 #endif\r
-       \r
+\r
 #ifdef GCC_H8S\r
        #include "../../Source/portable/GCC/H8S2329/portmacro.h"\r
 #endif\r
 #ifdef IAR_ARMCM3_LM\r
        #include "../../Source/portable/IAR/ARM_CM3/portmacro.h"\r
 #endif\r
-       \r
+\r
 #ifdef HCS12_CODE_WARRIOR\r
        #include "../../Source/portable/CodeWarrior/HCS12/portmacro.h"\r
-#endif \r
+#endif\r
 \r
 #ifdef MICROBLAZE_GCC\r
        #include "../../Source/portable/GCC/MicroBlaze/portmacro.h"\r
 #ifdef __IAR_78K0R_Kx3__\r
        #include "../../Source/portable/IAR/78K0R/portmacro.h"\r
 #endif\r
-       \r
+\r
 #ifdef __IAR_78K0R_Kx3L__\r
        #include "../../Source/portable/IAR/78K0R/portmacro.h"\r
 #endif\r
-       \r
+\r
 /* Catch all to ensure portmacro.h is included in the build.  Newer demos\r
 have the path as part of the project options, rather than as relative from\r
 the project location.  If portENTER_CRITICAL() has not been defined then\r
@@ -325,9 +325,9 @@ portmacro.h has not yet been included - as every portmacro.h provides a
 portENTER_CRITICAL() definition.  Check the demo application for your demo\r
 to find the path to the correct portmacro.h file. */\r
 #ifndef portENTER_CRITICAL\r
-       #include "portmacro.h"  \r
+       #include "portmacro.h"\r
 #endif\r
-       \r
+\r
 #if portBYTE_ALIGNMENT == 8\r
        #define portBYTE_ALIGNMENT_MASK ( 0x0007 )\r
 #endif\r
@@ -367,7 +367,7 @@ extern "C" {
 #if( portUSING_MPU_WRAPPERS == 1 )\r
        portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters, portBASE_TYPE xRunPrivileged ) PRIVILEGED_FUNCTION;\r
 #else\r
-       portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters );\r
+       portSTACK_TYPE *pxPortInitialiseStack( portSTACK_TYPE *pxTopOfStack, pdTASK_CODE pxCode, void *pvParameters ) PRIVILEGED_FUNCTION;\r
 #endif\r
 \r
 /*\r
@@ -398,7 +398,7 @@ void vPortEndScheduler( void ) PRIVILEGED_FUNCTION;
  * Fills the xMPUSettings structure with the memory region information\r
  * contained in xRegions.\r
  */\r
-#if( portUSING_MPU_WRAPPERS == 1 ) \r
+#if( portUSING_MPU_WRAPPERS == 1 )\r
        struct xMEMORY_REGION;\r
        void vPortStoreTaskMPUSettings( xMPU_SETTINGS *xMPUSettings, const struct xMEMORY_REGION * const xRegions, portSTACK_TYPE *pxBottomOfStack, unsigned short usStackDepth ) PRIVILEGED_FUNCTION;\r
 #endif\r