]> git.sur5r.net Git - freertos/blobdiff - Source/portable/GCC/ARM_CM3_MPU/port.c
Tidy up only.
[freertos] / Source / portable / GCC / ARM_CM3_MPU / port.c
index 93caade95713cb6c2a7eabe73ece1f0472b95680..d4a662e2c4e50c456d2a7ebf1847d691011e7dd4 100644 (file)
@@ -91,7 +91,6 @@ task.h is included from an application file. */
 #define portNVIC_PENDSV_PRI                                            ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 16UL )\r
 #define portNVIC_SYSTICK_PRI                                   ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )\r
 #define portNVIC_SVC_PRI                                               ( ( ( unsigned long ) configKERNEL_INTERRUPT_PRIORITY ) << 24UL )\r
-#define portNVIC_TEMP_SVC_PRI                                  ( 0x01UL << 24UL )\r
 \r
 /* Constants required to set up the initial stack. */\r
 #define portINITIAL_XPSR                                               ( 0x01000000 )\r
@@ -270,10 +269,9 @@ static void prvRestoreContextOfFirstTask( void )
  */\r
 portBASE_TYPE xPortStartScheduler( void )\r
 {\r
-       /* Make PendSV, CallSV and SysTick the same priroity as the kernel. */\r
+       /* Make PendSV and SysTick the same priroity as the kernel. */\r
        *(portNVIC_SYSPRI2) |= portNVIC_PENDSV_PRI;\r
        *(portNVIC_SYSPRI2) |= portNVIC_SYSTICK_PRI;\r
-    *(portNVIC_SYSPRI1) |= portNVIC_TEMP_SVC_PRI;\r
 \r
        /* Configure the regions in the MPU that are common to all tasks. */\r
        prvSetupMPU();\r