From d420ee9a092830fc703cd350809666db70153881 Mon Sep 17 00:00:00 2001 From: batt Date: Tue, 30 Mar 2010 14:30:12 +0000 Subject: [PATCH] ARM7TDMI: Use SVC stack. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3330 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/hw/crt_arm7tdmi.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 /* -- 2.25.1