ARM7TDMI: Use SVC stack.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 30 Mar 2010 14:30:12 +0000 (14:30 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 30 Mar 2010 14:30:12 +0000 (14:30 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3330 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/arm/hw/crt_arm7tdmi.S

index ca2e968cee388ead8f196dc522bfe28a4a432aea..4c81101dbe4075871559d3f8afe5a851b7e51122 100644 (file)
@@ -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
 
        /*