]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RL78_E2Studio_GCC/src/FreeRTOS_Source/portable/GCC/RL78/portasm.S
RL78 GCC: Save and restore all register banks.
[freertos] / FreeRTOS / Demo / RL78_E2Studio_GCC / src / FreeRTOS_Source / portable / GCC / RL78 / portasm.S
index cd0914cbb2bd8f9f481ab2e996ece960d3a08d30..35d6e1c34d51d2d064f97d24520c580dd252b4cd 100644 (file)
@@ -86,6 +86,7 @@
        .extern    _vTaskIncrementTick\r
 \r
        .text\r
+       .align 2\r
 \r
 /* FreeRTOS yield handler.  This is installed as the BRK software interrupt\r
 handler. */\r
@@ -101,6 +102,7 @@ _vPortYield:
 \r
 /* Starts the scheduler by restoring the context of the task that will execute\r
 first. */\r
+       .align 2\r
 _vPortStartFirstTask:\r
        /* Restore the context of whichever task will execute first. */\r
        portRESTORE_CONTEXT\r
@@ -109,6 +111,7 @@ _vPortStartFirstTask:
 \r
 /* FreeRTOS tick handler.  This is installed as the interval timer interrupt\r
 handler. */\r
+       .align 2\r
 _vPortTickISR:\r
 \r
        /* Save the context of the currently executing task. */\r