mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
A little optimisation.
This commit is contained in:
parent
b6aa1d6ca8
commit
f689c709ab
3 changed files with 19 additions and 26 deletions
|
@ -167,19 +167,6 @@ extern void *pxCurrentTCB;
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vPortYield( void )
|
||||
{
|
||||
unsigned portLONG ulStatus;
|
||||
|
||||
SetCoreSW0();
|
||||
|
||||
/* Unmask all interrupts. */
|
||||
ulStatus = _CP0_GET_STATUS();
|
||||
ulStatus &= ~portALL_IPL_BITS;
|
||||
_CP0_SET_STATUS( ulStatus );
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vPortIncrementTick( void )
|
||||
{
|
||||
unsigned portBASE_TYPE uxSavedStatus;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue