summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-04-06 14:41:04 +0000
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-04-06 14:41:04 +0000
commit829cf8b71180856a24e9c7de69e07d0a171ecb35 (patch)
tree791c8de98e21d93f0faf8f2af80895bc0f54ee5d /Source
parent0bdcd7843af39ba1c2d254e4a7e3a72839c9fe5a (diff)
downloadfreertos-829cf8b71180856a24e9c7de69e07d0a171ecb35.tar.gz
freertos-829cf8b71180856a24e9c7de69e07d0a171ecb35.tar.bz2
freertos-829cf8b71180856a24e9c7de69e07d0a171ecb35.tar.xz
Ensure the first task starts with interrupts enabled.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@298 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Source')
-rw-r--r--Source/portable/IAR/ARM_CM3/portasm.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/portable/IAR/ARM_CM3/portasm.s b/Source/portable/IAR/ARM_CM3/portasm.s
index 65522b5b..14df393c 100644
--- a/Source/portable/IAR/ARM_CM3/portasm.s
+++ b/Source/portable/IAR/ARM_CM3/portasm.s
@@ -148,6 +148,8 @@ vPortSVCHandler;
ldr r2, =uxCriticalNesting
str r1, [r2]
msr psp, r0
+ mov r0, #0
+ msr basepri, r0
orr r14, r14, #13
bx r14