From 1b04552233023c7aa6292c85c113df4984fd32b7 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Wed, 12 Jan 2011 10:00:13 +0000 Subject: [PATCH] Make use of the EVEN assembler directive in the IAR MSP430X port layer. --- Source/portable/IAR/MSP430X/portext.s43 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/portable/IAR/MSP430X/portext.s43 b/Source/portable/IAR/MSP430X/portext.s43 index 4834a21ad..b9861cfd5 100644 --- a/Source/portable/IAR/MSP430X/portext.s43 +++ b/Source/portable/IAR/MSP430X/portext.s43 @@ -104,6 +104,7 @@ portRESTORE_CONTEXT macro */ RSEG CODE + EVEN vPortTickISR: @@ -124,6 +125,8 @@ vPortTickISR: /* * Manual context switch called by the portYIELD() macro. */ + EVEN + vPortYield: /* The sr needs saving before it is modified. */ @@ -148,6 +151,8 @@ vPortYield: * Start off the scheduler by initialising the RTOS tick timer, then restoring * the context of the first task. */ + EVEN + xPortStartScheduler: /* Setup the hardware to generate the tick. Interrupts are disabled