]> git.sur5r.net Git - freertos/commitdiff
Ensure the first task starts with interrupts enabled.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 6 Apr 2008 14:41:04 +0000 (14:41 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 6 Apr 2008 14:41:04 +0000 (14:41 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@298 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/portable/IAR/ARM_CM3/portasm.s

index 65522b5b24c9906256459068c292a54a628d2d9e..14df393c2b9a430c78b141363cbab100a1e0d954 100644 (file)
@@ -148,6 +148,8 @@ vPortSVCHandler;
        ldr r2, =uxCriticalNesting\r
        str r1, [r2]\r
        msr psp, r0\r
+       mov r0, #0\r
+       msr     basepri, r0\r
        orr r14, r14, #13\r
        bx r14\r
 \r