mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Simplify and improve GIC-less Cortex-R4 port.
Add final tests into RZ/T demo.
This commit is contained in:
parent
b9f235846f
commit
f19497c3d6
12 changed files with 152 additions and 505 deletions
|
@ -1021,7 +1021,7 @@ BaseType_t xMessagePosted;
|
|||
else if( xCallCount == xClearBitsCount )
|
||||
{
|
||||
/* Clear the bits again. */
|
||||
uxReturned = xEventGroupClearBitsFromISR( xISREventGroup, uxBitsToSet );
|
||||
uxReturned = ( EventBits_t ) xEventGroupClearBitsFromISR( xISREventGroup, uxBitsToSet );
|
||||
|
||||
/* Check the message was posted. */
|
||||
if( uxReturned != pdPASS )
|
||||
|
|
|
@ -556,6 +556,6 @@ const uint32_t ulMultiplier = 0x015a4e35UL, ulIncrement = 1UL;
|
|||
|
||||
/* Utility function to generate a pseudo random number. */
|
||||
ulNextRand = ( ulMultiplier * ulNextRand ) + ulIncrement;
|
||||
return( ( int ) ( ulNextRand >> 16UL ) & 0x7fffUL );
|
||||
return( ( ulNextRand >> 16UL ) & 0x7fffUL );
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue