git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@103 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2007-11-21 20:39:44 +00:00
parent d1733a8bd3
commit 8d478094e0
1 changed files with 8 additions and 4 deletions

View File

@ -37,17 +37,21 @@
.globl threadstart
threadstart:
msr CPSR_c, #MODE_SYS
mov r0, r5
#ifndef PURE_THUMB
mov r0, r5
mov lr, pc
bx r4
bl chThdExit
#else
ldr r0, =.L1
bx r0
.code 16
.L1:
mov r0, r5
mov lr, pc
bx r4
.code 16
ldr r4, =chThdExit
bx r4
bl chThdExit
.code 32
#endif
.globl UndHandler