mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Make taskYIELD available to unprivileged tasks (#817)
Make taskYIELD available to unprivileged tasks on ARMv8-M ports.
This commit is contained in:
parent
d442d7908a
commit
3d575b58a4
42 changed files with 315 additions and 21 deletions
|
@ -1118,6 +1118,12 @@ void vPortSVCHandler_C( uint32_t * pulCallerStackAddress ) /* PRIVILEGED_FUNCTIO
|
|||
break;
|
||||
#endif /* ( configENABLE_MPU == 1 ) && ( configUSE_MPU_WRAPPERS_V1 == 1 ) */
|
||||
|
||||
#if ( configENABLE_MPU == 1 )
|
||||
case portSVC_YIELD:
|
||||
vPortYield();
|
||||
break;
|
||||
#endif /* configENABLE_MPU == 1 */
|
||||
|
||||
default:
|
||||
/* Incorrect SVC call. */
|
||||
configASSERT( pdFALSE );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue