/*\r
- FreeRTOS V8.2.1 - Copyright (C) 2015 Real Time Engineers Ltd.\r
+ FreeRTOS V9.0.0rc2 - Copyright (C) 2016 Real Time Engineers Ltd.\r
All rights reserved\r
\r
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
\r
FreeRTOS is free software; you can redistribute it and/or modify it under\r
the terms of the GNU General Public License (version 2) as published by the\r
- Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
+ Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.\r
\r
***************************************************************************\r
>>! NOTE: The modification to the GPL is included to allow you to !<<\r
EXTERN vTaskSwitchContext\r
\r
PUBLIC xPortPendSVHandler\r
- PUBLIC ulPortSetInterruptMask\r
- PUBLIC vPortClearInterruptMask\r
PUBLIC vPortSVCHandler\r
PUBLIC vPortStartFirstTask\r
\r
stmdb sp!, {r3, r14}\r
mov r0, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
msr basepri, r0\r
+ dsb\r
+ isb\r
bl vTaskSwitchContext\r
mov r0, #0\r
msr basepri, r0\r
\r
/*-----------------------------------------------------------*/\r
\r
-ulPortSetInterruptMask:\r
- mrs r0, basepri\r
- mov r1, #configMAX_SYSCALL_INTERRUPT_PRIORITY\r
- msr basepri, r1\r
- bx r14\r
-\r
-/*-----------------------------------------------------------*/\r
-\r
-vPortClearInterruptMask:\r
- msr basepri, r0\r
- bx r14\r
-\r
-/*-----------------------------------------------------------*/\r
-\r
vPortSVCHandler:\r
/* Get the location of the current TCB. */\r
ldr r3, =pxCurrentTCB\r