2009-10-12 Joel Sherrill <joel.sherrill@OARcorp.com>

* cpuuse/init.c, cpuuse/system.h: Use minimum stack size.
This commit is contained in:
Joel Sherrill
2009-10-12 13:31:01 +00:00
parent 1fbf17b679
commit bff419ffc2
3 changed files with 7 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
2009-10-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpuuse/init.c, cpuuse/system.h: Use minimum stack size.
2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, termios01/termios_testdriver.c: Do not use

View File

@@ -64,7 +64,7 @@ rtems_task Init(
status = rtems_task_create(
Task_name[ 1 ],
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_TIMESLICE,
RTEMS_FLOATING_POINT,
&Task_id[ 1 ]
@@ -74,7 +74,7 @@ rtems_task Init(
status = rtems_task_create(
Task_name[ 2 ],
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_TIMESLICE,
RTEMS_FLOATING_POINT,
&Task_id[ 2 ]
@@ -84,7 +84,7 @@ rtems_task Init(
status = rtems_task_create(
Task_name[ 3 ],
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_TIMESLICE,
RTEMS_FLOATING_POINT,
&Task_id[ 3 ]

View File

@@ -47,9 +47,6 @@ void Task_switch(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_MAXIMUM_TASKS 4
#define CONFIGURE_TICKS_PER_TIMESLICE 100
#if !BSP_SMALL_MEMORY
#define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE)
#endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE