Fixed bug 3601460.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5077 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2013-01-19 07:44:09 +00:00
parent 54ae934f7d
commit 78116c8564
2 changed files with 34 additions and 24 deletions

View File

@ -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

View File

@ -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