]> git.sur5r.net Git - freertos/commitdiff
Replace the hard coded interrupt priorities with the configKERNEL_INTERRUPT_PRIORITY...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 23 Sep 2010 13:13:26 +0000 (13:13 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 23 Sep 2010 13:13:26 +0000 (13:13 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1129 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/portable/IAR/RX600/port_asm.s

index 6e8c1787dca278e151ff05cde5935fb536d87f4d..fd447215b66a3a97e3f772d3530dfddf9db31705 100644 (file)
@@ -51,6 +51,8 @@
     licensing and training services.\r
 */\r
 \r
+#include "PriorityDefinitions.h"\r
+\r
        PUBLIC _prvStartFirstTask\r
        PUBLIC ___interrupt_27\r
 \r
@@ -150,13 +152,13 @@ ___interrupt_27:
 \r
                /* Ensure the interrupt mask is set to the syscall priority while the kernel\r
                structures are being accessed. */\r
-               MVTIPL          #4\r
+               MVTIPL          #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
 \r
                /* Select the next task to run. */\r
                BSR.A           _vTaskSwitchContext\r
 \r
                /* Reset the interrupt mask as no more data structure access is required. */\r
-               MVTIPL          #1\r
+               MVTIPL          #configKERNEL_INTERRUPT_PRIORITY\r
 \r
                /* Load the stack pointer of the task that is now selected as the Running\r
                state task from its TCB. */\r