mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-12 06:35:19 -05:00
Resolved VF parse error. Deleted functions involving inline assembler.
This commit is contained in:
parent
997d39d894
commit
ee70a7815d
1 changed files with 21 additions and 9 deletions
12
tasks.c
12
tasks.c
|
|
@ -602,6 +602,11 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB ) PRIVILEGED_FUNCTION;
|
|||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#ifndef VERIFAST
|
||||
/* Reason for rewrite:
|
||||
* VeriFast cannot handle inline assembler and both `portDISABLE_INTERRUPTS`
|
||||
* and `portRESTORE_INTERRUPTS` expand to inline assembler instructions.
|
||||
*/
|
||||
static BaseType_t prvGetCurrentYieldPending( void )
|
||||
{
|
||||
BaseType_t xReturn;
|
||||
|
|
@ -613,9 +618,15 @@ static BaseType_t prvGetCurrentYieldPending( void )
|
|||
|
||||
return xReturn;
|
||||
}
|
||||
#endif /* VERIFAST */
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
#ifndef VERIFAST
|
||||
/* Reason for rewrite:
|
||||
* VeriFast cannot handle inline assembler and `portCHECK_IF_IN_ISR`
|
||||
* expands to inline assembler.
|
||||
*/
|
||||
static void prvCheckForRunStateChange( void )
|
||||
{
|
||||
UBaseType_t uxPrevCriticalNesting;
|
||||
|
|
@ -690,6 +701,7 @@ static void prvCheckForRunStateChange( void )
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif /* VERIFAST */
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue