forked from Imagelibrary/rtems
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* itrontask04/init.c: Run all tests successfully with maxixum number of priorities as 16 instead of 256. This was done by temporarily modifying the score priority.h maximum. This allowed testing of all API code to ensure that it worked properly with a reduced number of priorities. Most modifications were to switch from hard-coded maximum to using the API provided methods to determine maximum number of priority levels.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* itrontask04/init.c: Run all tests successfully with maxixum number of
|
||||
priorities as 16 instead of 256. This was done by temporarily
|
||||
modifying the score priority.h maximum. This allowed testing of all
|
||||
API code to ensure that it worked properly with a reduced number of
|
||||
priorities. Most modifications were to switch from hard-coded maximum
|
||||
to using the API provided methods to determine maximum number of
|
||||
priority levels.
|
||||
|
||||
2008-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* itronhello/system.h, itronmbox01/system.h, itrontask02/system.h,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*
|
||||
* Output parameters: NONE
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1999.
|
||||
* COPYRIGHT (c) 1989-2008.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "system.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
void ITRON_Init( void )
|
||||
{
|
||||
ER status;
|
||||
@@ -31,8 +33,8 @@ void ITRON_Init( void )
|
||||
|
||||
puts( "\n\n*** ITRON TASK TEST 4 ***" );
|
||||
|
||||
status = chg_pri( 0, 20 );
|
||||
directive_failed( status, "chg_pri to 20" );
|
||||
status = chg_pri( 0, RTEMS_MAXIMUM_PRIORITY - 2 );
|
||||
directive_failed( status, "chg_pri to MAX - 2" );
|
||||
|
||||
pk_ctsk.exinf = NULL;
|
||||
pk_ctsk.tskatr = TA_HLNG;
|
||||
|
||||
Reference in New Issue
Block a user