Added the portALIGNMENT_ASSERT_pxCurrentTCB macro.

Updated the TriCore port layer so its compare match setup does not effect any other compare match bits.
This commit is contained in:
Richard Barry 2011-10-28 11:50:00 +00:00
parent f354d6599e
commit 188128f788
4 changed files with 42 additions and 11 deletions

View file

@ -504,7 +504,7 @@ tskTCB * pxNewTCB;
#endif
/* Check the alignment of the initialised stack. */
configASSERT( ( ( ( unsigned long ) pxNewTCB->pxTopOfStack & ( unsigned long ) portBYTE_ALIGNMENT_MASK ) == 0UL ) );
portALIGNMENT_ASSERT_pxCurrentTCB( ( ( ( unsigned long ) pxNewTCB->pxTopOfStack & ( unsigned long ) portBYTE_ALIGNMENT_MASK ) == 0UL ) );
if( ( void * ) pxCreatedTask != NULL )
{