From: richardbarry Date: Sun, 6 Apr 2008 14:41:04 +0000 (+0000) Subject: Ensure the first task starts with interrupts enabled. X-Git-Tag: V5.0.0~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19c9ed2066b1b5371b86856ef90ce1d76aa6dbd2;p=freertos Ensure the first task starts with interrupts enabled. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@298 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/portable/IAR/ARM_CM3/portasm.s b/Source/portable/IAR/ARM_CM3/portasm.s index 65522b5b2..14df393c2 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