diff options
Diffstat (limited to 'ports/ARM7-LPC214x/GCC/chcore2.s')
-rw-r--r-- | ports/ARM7-LPC214x/GCC/chcore2.s | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/ARM7-LPC214x/GCC/chcore2.s b/ports/ARM7-LPC214x/GCC/chcore2.s index ee1e6ad55..a31422cea 100644 --- a/ports/ARM7-LPC214x/GCC/chcore2.s +++ b/ports/ARM7-LPC214x/GCC/chcore2.s @@ -32,9 +32,9 @@ .text
.code 32
-.balign 4
#ifdef THUMB
+.balign 16
.globl chSysLock
chSysLock:
msr CPSR_c, #MODE_SYS | I_BIT
@@ -46,6 +46,7 @@ chSysUnlock: bx lr
#endif
+.balign 16
.globl chSysSwitchI
chSysSwitchI:
#ifdef CH_CURRP_REGISTER_CACHE
|