mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-10-09 23:53:04 -04:00
feat(freertos/smp): Add support for TCB locks
This commit is contained in:
parent
9c9487d8c3
commit
c015a48b66
6 changed files with 1255 additions and 464 deletions
|
|
@ -2950,10 +2950,6 @@
|
|||
#error configUSE_MUTEXES must be set to 1 to use recursive mutexes
|
||||
#endif
|
||||
|
||||
#if ( ( configRUN_MULTIPLE_PRIORITIES == 0 ) && ( configUSE_TASK_PREEMPTION_DISABLE != 0 ) )
|
||||
#error configRUN_MULTIPLE_PRIORITIES must be set to 1 to use task preemption disable
|
||||
#endif
|
||||
|
||||
#if ( ( configUSE_PREEMPTION == 0 ) && ( configUSE_TASK_PREEMPTION_DISABLE != 0 ) )
|
||||
#error configUSE_PREEMPTION must be set to 1 to use task preemption disable
|
||||
#endif
|
||||
|
|
@ -3259,6 +3255,9 @@ typedef struct xSTATIC_TCB
|
|||
#if ( configUSE_TASK_PREEMPTION_DISABLE == 1 )
|
||||
BaseType_t xDummy26;
|
||||
#endif
|
||||
#if ( portUSING_GRANULAR_LOCKS == 1 )
|
||||
portSPINLOCK_TYPE xDummy27;
|
||||
#endif
|
||||
#if ( ( portSTACK_GROWTH > 0 ) || ( configRECORD_STACK_HIGH_ADDRESS == 1 ) )
|
||||
void * pxDummy8;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue