From: batt Date: Tue, 30 Mar 2010 14:30:12 +0000 (+0000) Subject: ARM7TDMI: Use SVC stack. X-Git-Tag: 2.5.0~578 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d420ee9a092830fc703cd350809666db70153881;p=bertos.git ARM7TDMI: Use SVC stack. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3330 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/hw/crt_arm7tdmi.S b/bertos/cpu/arm/hw/crt_arm7tdmi.S index ca2e968c..4c81101d 100644 --- a/bertos/cpu/arm/hw/crt_arm7tdmi.S +++ b/bertos/cpu/arm/hw/crt_arm7tdmi.S @@ -67,8 +67,8 @@ __init0: ldr r0, =__stack_und_end msr CPSR_c, #ARM_MODE_UNDEF | IRQ_BIT | FIQ_BIT mov r13, r0 - ldr r0, =__stack_sys_end - msr CPSR_c, #ARM_MODE_SYS | IRQ_BIT | FIQ_BIT + ldr r0, =__stack_svc_end + msr CPSR_c, #ARM_MODE_SVC | IRQ_BIT | FIQ_BIT mov r13, r0 /*