diff options
-rw-r--r-- | os/ports/GCC/MSP430/chcoreasm.s | 56 | ||||
-rw-r--r-- | readme.txt | 2 |
2 files changed, 34 insertions, 24 deletions
diff --git a/os/ports/GCC/MSP430/chcoreasm.s b/os/ports/GCC/MSP430/chcoreasm.s index 99c8744fd..5414b7172 100644 --- a/os/ports/GCC/MSP430/chcoreasm.s +++ b/os/ports/GCC/MSP430/chcoreasm.s @@ -18,38 +18,46 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "chconf.h"
+
+#define FALSE 0
+#define TRUE 1
+
.text
.p2align 1, 0
.weak _port_switch
_port_switch:
- push r11
- push r10
- push r9
- push r8
- push r7
- push r6
- push r5
- push r4
- mov r1, 6(r14)
- mov 6(r15), r1
- pop r4
- pop r5
- pop r6
- pop r7
- pop r8
- pop r9
- pop r10
- pop r11
- ret
+ push r11
+ push r10
+ push r9
+ push r8
+ push r7
+ push r6
+ push r5
+ push r4
+ mov r1, 6(r14)
+ mov 6(r15), r1
+ pop r4
+ pop r5
+ pop r6
+ pop r7
+ pop r8
+ pop r9
+ pop r10
+ pop r11
+ ret
.p2align 1, 0
.weak _port_thread_start
_port_thread_start:
- eint
- mov r11, r15
- call r10
- call #chThdExit
- ; Falls into _port_halt
+#if CH_DBG_SYSTEM_STATE_CHECK
+ call #dbg_check_unlock
+#endif
+ eint
+ mov r11, r15
+ call r10
+ call #chThdExit
+ ; Falls into _port_halt
.p2align 1, 0
.weak _port_halt
diff --git a/readme.txt b/readme.txt index 8dfc6d639..9bd2e2fa1 100644 --- a/readme.txt +++ b/readme.txt @@ -82,6 +82,8 @@ *****************************************************************************
*** 2.5.2 ***
+- FIX: Fixed state checker error in MSP430 port (bug 3601460)(backported
+ to 2.4.4).
- FIX: Fixed small bug in shell argument parsing code in shell_thread (bug
3599328)(backported to 2.4.4).
- FIX: Fixed wrong condition in checksum offload of STM32 MAC driver (bug
|