From 4be0f234b19f516548b2265ea1dcbc9301ac9880 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 17 Mar 2013 09:27:18 +0000 Subject: [PATCH] RL78 GCC: Save and restore all register banks. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1839 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../Demo/RL78_E2Studio_GCC/.YRDKRL78G14linker | 6 +- FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject | 196 +++++++++--------- .../Project_Generation_Prefrences.prefs | 3 +- .../Demo/RL78_E2Studio_GCC/RSKRL78G1C.launch | 96 +++++++++ .../Demo/RL78_E2Studio_GCC/YRDKRL78G14.launch | 96 +++++++++ .../src/Common-Demo-Tasks/dynamic.c | 74 +++---- .../RL78_E2Studio_GCC/src/FreeRTOSConfig.h | 8 +- .../portable/GCC/RL78/isr_support.h | 112 ++++++---- .../FreeRTOS_Source/portable/GCC/RL78/port.c | 86 ++------ .../portable/GCC/RL78/portasm.S | 3 + .../portable/GCC/RL78/portmacro.h | 2 +- FreeRTOS/Demo/RL78_E2Studio_GCC/src/RegTest.S | 171 ++++++++++++--- FreeRTOS/Demo/RL78_E2Studio_GCC/src/main.c | 39 ++-- 13 files changed, 583 insertions(+), 309 deletions(-) create mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/RSKRL78G1C.launch create mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/YRDKRL78G14.launch diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.YRDKRL78G14linker b/FreeRTOS/Demo/RL78_E2Studio_GCC/.YRDKRL78G14linker index 41d71b41d..6cce6bbca 100644 --- a/FreeRTOS/Demo/RL78_E2Studio_GCC/.YRDKRL78G14linker +++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.YRDKRL78G14linker @@ -71,7 +71,7 @@ - + @@ -79,7 +79,6 @@ - @@ -90,8 +89,9 @@ - + + diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject b/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject index 046f15423..cfbb8dc45 100644 --- a/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject +++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject @@ -3,8 +3,8 @@ - - + + @@ -17,78 +17,78 @@ - - - - - - - @@ -209,8 +209,8 @@ - - + + @@ -223,74 +223,74 @@ - - - - - - -