mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Make use of the EVEN assembler directive in the IAR MSP430X port layer.
This commit is contained in:
parent
10bc087ef9
commit
1b04552233
|
@ -104,6 +104,7 @@ portRESTORE_CONTEXT macro
|
||||||
*/
|
*/
|
||||||
|
|
||||||
RSEG CODE
|
RSEG CODE
|
||||||
|
EVEN
|
||||||
|
|
||||||
vPortTickISR:
|
vPortTickISR:
|
||||||
|
|
||||||
|
@ -124,6 +125,8 @@ vPortTickISR:
|
||||||
/*
|
/*
|
||||||
* Manual context switch called by the portYIELD() macro.
|
* Manual context switch called by the portYIELD() macro.
|
||||||
*/
|
*/
|
||||||
|
EVEN
|
||||||
|
|
||||||
vPortYield:
|
vPortYield:
|
||||||
|
|
||||||
/* The sr needs saving before it is modified. */
|
/* 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
|
* Start off the scheduler by initialising the RTOS tick timer, then restoring
|
||||||
* the context of the first task.
|
* the context of the first task.
|
||||||
*/
|
*/
|
||||||
|
EVEN
|
||||||
|
|
||||||
xPortStartScheduler:
|
xPortStartScheduler:
|
||||||
|
|
||||||
/* Setup the hardware to generate the tick. Interrupts are disabled
|
/* Setup the hardware to generate the tick. Interrupts are disabled
|
||||||
|
|
Loading…
Reference in a new issue