forked from Imagelibrary/rtems
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* unlimited/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>
|
||||
|
||||
* unlimited/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-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* fileio/init.c: Add explicit creation of /etc/passwd and /etc/group so
|
||||
|
||||
@@ -37,11 +37,12 @@ rtems_task Init(
|
||||
{
|
||||
rtems_task_priority old_priority;
|
||||
rtems_mode old_mode;
|
||||
uint32_t task;
|
||||
uint32_t task;
|
||||
|
||||
/* lower the task priority to allow created tasks to execute */
|
||||
|
||||
rtems_task_set_priority(RTEMS_SELF, 20, &old_priority);
|
||||
rtems_task_set_priority(
|
||||
RTEMS_SELF, RTEMS_MAXIMUM_PRIORITY - 1, &old_priority);
|
||||
rtems_task_mode(RTEMS_PREEMPT, RTEMS_PREEMPT_MASK, &old_mode);
|
||||
|
||||
printf( "\n*** UNLIMITED TASK TEST ***\n" );
|
||||
|
||||
Reference in New Issue
Block a user