]> git.sur5r.net Git - freertos/blobdiff - Source/portable/Renesas/RX600/port.c
Continue work on RX600 port - work in progress. Added the SET/CLEAR from ISR macros.
[freertos] / Source / portable / Renesas / RX600 / port.c
index e41221f618c74a0736edaf83aea8c44c9370d840..8e3cc871d4f5507205eee9534aae78e774b54e6c 100644 (file)
@@ -96,8 +96,6 @@ static void prvStartFirstTask( void );
 \r
 extern void *pxCurrentTCB;\r
 \r
-unsigned char ucIPLToRestore = 0;\r
-\r
 /*-----------------------------------------------------------*/\r
 \r
 /* \r
@@ -200,29 +198,6 @@ void vTickISR( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void vPortSetInterruptMask( void )\r
-{\r
-unsigned char ucPreviousIPL;\r
-\r
-       /* Store the current IPL to ensure it is restored correctly later if it is\r
-       not currently 0.  This is a stack variable, so there should not be a race\r
-       condition even if there is an interrupt or context switch before the new\r
-       IPL value gets set. */\r
-       ucPreviousIPL = get_ipl();\r
-       \r
-       /* Set the mask up to the max syscall priority. */\r
-       set_ipl( configMAX_SYSCALL_INTERRUPT_PRIORITY );\r
-       \r
-       /* Now the mask is set there will not be a context switch, so the previous\r
-       and current IPL values can be compared.  This ensures against the IPL being\r
-       set back to zero too early when critical sections nest. */\r
-       if( ucPreviousIPL < configMAX_SYSCALL_INTERRUPT_PRIORITY )\r
-       {\r
-               ucIPLToRestore = ucPreviousIPL;\r
-       }\r
-}\r
-/*-----------------------------------------------------------*/\r
-\r
 #pragma inline_asm prvStartFirstTask\r
 static void prvStartFirstTask( void )\r
 {\r