Lines Matching full:if

41  * LIB_PICO_MULTICORE == 1, if we are linked with pico_multicore (note that
43 * use this flag to determine if we need multi-core functionality.
45 #if ( LIB_PICO_MULTICORE == 1 )
118 #if ( configNUMBER_OF_CORES == 1 )
120 #else /* #if ( configNUMBER_OF_CORES == 1 ) */
122 #endif /* #if ( configNUMBER_OF_CORES == 1 ) */
126 #if ( configSUPPORT_PICO_SYNC_INTEROP == 1 )
130 #if configSUPPORT_STATIC_ALLOCATION
135 #if ( portRUNNING_ON_BOTH_CORES == 0 )
147 #if ( configUSE_TICKLESS_IDLE == 1 )
155 #if ( configUSE_TICKLESS_IDLE == 1 )
163 #if ( configUSE_TICKLESS_IDLE == 1 )
174 #if ( portRUNNING_ON_BOTH_CORES == 1 )
206 * its caller as there is nothing to return to. If a task wants to exit it in prvTaskExitError()
221 #if ( configNUMBER_OF_CORES == 1 ) in vPortStartFirstTask()
241 #else /* if ( configNUMBER_OF_CORES == 1 ) */ in vPortStartFirstTask()
244 #if configRESET_STACK_POINTER in vPortStartFirstTask()
250 #if portRUNNING_ON_BOTH_CORES in vPortStartFirstTask()
272 #if portRUNNING_ON_BOTH_CORES in vPortStartFirstTask()
280 #endif /* if ( configNUMBER_OF_CORES == 1 ) */ in vPortStartFirstTask()
284 #if ( LIB_PICO_MULTICORE == 1 ) && ( configSUPPORT_PICO_SYNC_INTEROP == 1 )
294 #if ( portRUNNING_ON_BOTH_CORES == 1 ) in prvFIFOInterruptHandler()
306 #endif /* if ( LIB_PICO_MULTICORE == 1 ) && ( configSUPPORT_PICO_SYNC_INTEROP == 1 ) */
308 #if ( configNUMBER_OF_CORES > 1 )
315 if( ucPrimaryCoreNum == get_core_num() ) in xPortStartSchedulerOnCore()
323 #if ( configUSE_DYNAMIC_EXCEPTION_HANDLERS == 1 ) in xPortStartSchedulerOnCore()
330 #if ( configUSE_DYNAMIC_EXCEPTION_HANDLERS == 1 ) in xPortStartSchedulerOnCore()
359 #if portRUNNING_ON_BOTH_CORES
378 #if portRUNNING_ON_BOTH_CORES in xPortStartScheduler()
391 #else /* if ( configNUMBER_OF_CORES > 1 ) */
402 #if ( configUSE_DYNAMIC_EXCEPTION_HANDLERS == 1 ) in xPortStartScheduler()
416 #if ( LIB_PICO_MULTICORE == 1 ) in xPortStartScheduler()
417 #if ( configSUPPORT_PICO_SYNC_INTEROP == 1 ) in xPortStartScheduler()
442 #endif /* if ( configNUMBER_OF_CORES > 1 ) */
455 #if ( configSUPPORT_PICO_SYNC_INTEROP == 1 ) in vPortYield()
473 #if ( configNUMBER_OF_CORES == 1 )
481 #endif /* #if ( configNUMBER_OF_CORES == 1 ) */
484 #if ( configNUMBER_OF_CORES == 1 )
490 if( uxCriticalNesting == 0 ) in vPortExitCritical()
495 #endif /* #if ( configNUMBER_OF_CORES == 1 ) */
499 #if ( configSUPPORT_PICO_SYNC_INTEROP == 1 ) in vPortEnableInterrupts()
502 if( pxYieldSpinLock[ xCoreID ] ) in vPortEnableInterrupts()
538 /* Remove warning if configASSERT is not defined. in vYieldCore()
544 #if portRUNNING_ON_BOTH_CORES in vYieldCore()
546 /* Non blocking, will cause interrupt on other core if the queue isn't already full, in vYieldCore()
557 #if ( configNUMBER_OF_CORES == 1 ) in xPortPendSVHandler()
574 #if portUSE_DIVIDER_SAVE_RESTORE in xPortPendSVHandler()
580 * a) if we have not been interrupted since we entered this method, in xPortPendSVHandler()
582 * b) if we were interrupted in the interim, then any "safe" - i.e. in xPortPendSVHandler()
616 #if portUSE_DIVIDER_SAVE_RESTORE in xPortPendSVHandler()
630 #else /* if portUSE_DIVIDER_SAVE_RESTORE */ in xPortPendSVHandler()
639 #else /* if ( configNUMBER_OF_CORES == 1 ) */ in xPortPendSVHandler()
647 #if portRUNNING_ON_BOTH_CORES in xPortPendSVHandler()
664 #if portUSE_DIVIDER_SAVE_RESTORE in xPortPendSVHandler()
668 * a) if we have not been interrupted since we entered this method, in xPortPendSVHandler()
670 * b) if we were interrupted in the interim, then any "safe" - i.e. in xPortPendSVHandler()
687 #if portRUNNING_ON_BOTH_CORES in xPortPendSVHandler()
709 #if portUSE_DIVIDER_SAVE_RESTORE in xPortPendSVHandler()
723 #else /* if portUSE_DIVIDER_SAVE_RESTORE */ in xPortPendSVHandler()
735 #endif /* if ( configNUMBER_OF_CORES == 1 ) */ in xPortPendSVHandler()
747 if( xTaskIncrementTick() != pdFALSE ) in xPortSysTickHandler()
769 #if ( configUSE_TICKLESS_IDLE == 1 ) in vPortSetupTimerInterrupt()
787 #if ( configUSE_TICKLESS_IDLE == 1 )
795 if( xExpectedIdleTime > xMaximumPossibleSuppressedTicks ) in vPortSuppressTicksAndSleep()
811 if( ulReloadValue > ulStoppedTimerCompensation ) in vPortSuppressTicksAndSleep()
822 /* If a context switch is pending or a task is waiting for the scheduler in vPortSuppressTicksAndSleep()
824 if( eTaskConfirmSleepModeStatus() == eAbortSleep ) in vPortSuppressTicksAndSleep()
861 if( xModifiableIdleTime > 0 ) in vPortSuppressTicksAndSleep()
887 * portNVIC_SYSTICK_COUNT_FLAG_BIT is not cleared if it is set. Again, in vPortSuppressTicksAndSleep()
894 /* Determine if the SysTick clock has already counted to zero and in vPortSuppressTicksAndSleep()
896 * correct for the entire expected idle time) or if the SysTick is yet in vPortSuppressTicksAndSleep()
899 if( ( portNVIC_SYSTICK_CTRL_REG & portNVIC_SYSTICK_COUNT_FLAG_BIT ) != 0 ) in vPortSuppressTicksAndSleep()
912if( ( ulCalculatedLoadValue < ulStoppedTimerCompensation ) || ( ulCalculatedLoadValue > ulTimerCou… in vPortSuppressTicksAndSleep()
956 #if ( configSUPPORT_PICO_SYNC_INTEROP == 1 ) || ( configSUPPORT_PICO_TIME_INTEROP == 1 )
964 if( xDelay >= ulTickPeriod ) in prvGetTicksToWaitBefore()
971 #endif /* if ( configSUPPORT_PICO_SYNC_INTEROP == 1 ) || ( configSUPPORT_PICO_TIME_INTEROP == 1 ) */
973 #if ( configSUPPORT_PICO_SYNC_INTEROP == 1 )
976 if( portIS_FREE_RTOS_CORE() ) in ulPortLockGetCurrentOwnerId()
980 if( !exception ) in ulPortLockGetCurrentOwnerId()
1000 #if ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_16_BITS ) in prvGetEventGroupBit()
1013 #if ( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_16_BITS ) in prvGetAllEventGroupBits()
1025 …/* note no need to check LIB_PICO_MULTICORE, as this is always returns true if that is not defined… in vPortLockInternalSpinUnlockWithWait()
1026 if( !portIS_FREE_RTOS_CORE() ) in vPortLockInternalSpinUnlockWithWait()
1052 if( portIS_FREE_RTOS_CORE() ) in vPortLockInternalSpinUnlockWithNotify()
1054 #if LIB_PICO_MULTICORE in vPortLockInternalSpinUnlockWithNotify()
1060 if( !portCHECK_IF_IN_ISR() ) in vPortLockInternalSpinUnlockWithNotify()
1074 #if ( portRUNNING_ON_BOTH_CORES == 0 ) in vPortLockInternalSpinUnlockWithNotify()
1076 …ould sent the bits across the FIFO which would have required us to block here if the FIFO was full, in vPortLockInternalSpinUnlockWithNotify()
1079 if( pxCrossCoreSpinLock != pxLock->spin_lock ) in vPortLockInternalSpinUnlockWithNotify()
1103 …/* note no need to check LIB_PICO_MULTICORE, as this is always returns true if that is not defined… in xPortLockInternalSpinUnlockWithBestEffortWaitOrTimeout()
1104 if( !portIS_FREE_RTOS_CORE() ) in xPortLockInternalSpinUnlockWithBestEffortWaitOrTimeout()
1116 if( uxTicksToWait ) in xPortLockInternalSpinUnlockWithBestEffortWaitOrTimeout()
1134 if( time_reached( uxUntil ) ) in xPortLockInternalSpinUnlockWithBestEffortWaitOrTimeout()
1142 /* We aren't sure if we've reached the timeout yet; the caller will check */ in xPortLockInternalSpinUnlockWithBestEffortWaitOrTimeout()
1148 #if ( configSUPPORT_PICO_SYNC_INTEROP == 1 )
1154 #if ( portRUNNING_ON_BOTH_CORES == 0 ) in prvRuntimeInitializer()
1160 #if ( configSUPPORT_STATIC_ALLOCATION == 1 ) in prvRuntimeInitializer()
1171 #endif /* if ( configSUPPORT_PICO_SYNC_INTEROP == 1 ) */
1174 #if ( configSUPPORT_PICO_TIME_INTEROP == 1 )
1179 if( uxTicksToWait ) in xPortSyncInternalYieldUntilBefore()