mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-20 08:40:35 -05:00
update IAR CM3 port to avoid including FreeRTOSConfig.h in portasm.s
This commit is contained in:
parent
78e0cc778a
commit
5b67935daf
2 changed files with 7 additions and 2 deletions
|
|
@ -26,13 +26,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <FreeRTOSConfig.h>
|
||||
|
||||
RSEG CODE:CODE(2)
|
||||
thumb
|
||||
|
||||
EXTERN pxCurrentTCB
|
||||
EXTERN vTaskSwitchContext
|
||||
EXTERN portConfigMaxSyscallIntPriority
|
||||
|
||||
PUBLIC xPortPendSVHandler
|
||||
PUBLIC vPortSVCHandler
|
||||
|
|
@ -52,7 +52,7 @@ xPortPendSVHandler:
|
|||
str r0, [r2] /* Save the new top of stack into the first member of the TCB. */
|
||||
|
||||
stmdb sp!, {r3, r14}
|
||||
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY
|
||||
ldr r0, =portConfigMaxSyscallIntPriority
|
||||
msr basepri, r0
|
||||
dsb
|
||||
isb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue