From 5bd29d426b63664d54209a2dab47662ec4e4e92c Mon Sep 17 00:00:00 2001 From: richardbarry Date: Thu, 23 Sep 2010 13:13:26 +0000 Subject: [PATCH] Replace the hard coded interrupt priorities with the configKERNEL_INTERRUPT_PRIORITY and configMAX_SYSCALL_INTERRUPT_PRIORITY definitions in the IAR RX port layer. 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/portable/IAR/RX600/port_asm.s b/Source/portable/IAR/RX600/port_asm.s index 6e8c1787d..fd447215b 100644 --- a/Source/portable/IAR/RX600/port_asm.s +++ b/Source/portable/IAR/RX600/port_asm.s @@ -51,6 +51,8 @@ licensing and training services. */ +#include "PriorityDefinitions.h" + PUBLIC _prvStartFirstTask PUBLIC ___interrupt_27 @@ -150,13 +152,13 @@ ___interrupt_27: /* Ensure the interrupt mask is set to the syscall priority while the kernel structures are being accessed. */ - MVTIPL #4 + MVTIPL #configMAX_SYSCALL_INTERRUPT_PRIORITY /* Select the next task to run. */ BSR.A _vTaskSwitchContext /* Reset the interrupt mask as no more data structure access is required. */ - MVTIPL #1 + MVTIPL #configKERNEL_INTERRUPT_PRIORITY /* Load the stack pointer of the task that is now selected as the Running state task from its TCB. */ -- 2.39.5