From: richardbarry Date: Fri, 25 Jul 2008 02:40:35 +0000 (+0000) Subject: Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY... X-Git-Tag: V5.0.3~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d44b7bf2c0d5121e8ca42c57bf54220a98921496;p=freertos Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@418 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/portable/IAR/ARM_CM3/portasm.s b/Source/portable/IAR/ARM_CM3/portasm.s index d4071e39c..d3329a30d 100644 --- a/Source/portable/IAR/ARM_CM3/portasm.s +++ b/Source/portable/IAR/ARM_CM3/portasm.s @@ -146,9 +146,14 @@ vPortSVCHandler; /*-----------------------------------------------------------*/ vPortStartFirstTask + /* Use the NVIC offset register to locate the stack. */ + ldr r0, =0xE000ED08 + ldr r0, [r0] + ldr r0, [r0] + /* Set the msp back to the start of the stack. */ msr msp, r0 + /* Call SVC to start the first task. */ svc 0 - END \ No newline at end of file