Added CONFIGURE_EXTRA_TASK_STACKS definition to make memory requirements

more accurate.
This commit is contained in:
Joel Sherrill
1998-04-27 13:51:23 +00:00
parent 6ce14e72fb
commit 9a993ed573
48 changed files with 98 additions and 6 deletions

View File

@@ -51,6 +51,8 @@ void Task_switch(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -18,8 +18,6 @@
/* macros */
#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3)
/* functions */
rtems_task Init(
@@ -39,6 +37,10 @@ void blow_stack( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3)
#define CONFIGURE_EXTRA_TASK_STACKS (10 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -46,6 +46,7 @@ void Get_all_counters( void );
#define CONFIGURE_MAXIMUM_PERIODS 10
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>

View File

@@ -128,7 +128,9 @@ class Io_during_interrupt
#define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_STACK_SIZE 0x2000
#define CONFIGURE_INIT_TASK_STACK_SIZE (4 * RTEMS_MINIMUM_STACK_SIZE)
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>

View File

@@ -47,6 +47,7 @@ void Get_all_counters( void );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (15 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -39,6 +39,8 @@ rtems_asr Process_asr( rtems_signal_set );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* variables */

View File

@@ -70,6 +70,8 @@ void Exit_test( void );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* variables */

View File

@@ -31,6 +31,8 @@ rtems_task Init(
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -35,6 +35,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -51,6 +51,8 @@ void Task_switch(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -74,6 +74,8 @@ rtems_extension Task_exit_extension(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (4 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -40,6 +40,8 @@ rtems_task Task_1(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -97,6 +97,8 @@ void Screen14( void );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (2 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -77,6 +77,8 @@ rtems_timer_service_routine TA2_send_10_to_self(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (2 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -63,6 +63,8 @@ rtems_task Task5(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (2 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -55,6 +55,8 @@ rtems_task Task_3(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (2 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -51,6 +51,8 @@ rtems_task Task_2(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -54,6 +54,8 @@ rtems_task Task5(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -45,6 +45,8 @@ rtems_task Task_1(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (18 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -47,6 +47,8 @@ void Get_all_counters( void );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (15 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -45,6 +45,8 @@ rtems_task Task_1(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -38,6 +38,8 @@ rtems_task Task_1(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -42,6 +42,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -37,6 +37,8 @@ rtems_task Init(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* end of include file */

View File

@@ -51,6 +51,8 @@ void Task_switch(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -18,8 +18,6 @@
/* macros */
#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3)
/* functions */
rtems_task Init(
@@ -39,6 +37,10 @@ void blow_stack( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3)
#define CONFIGURE_EXTRA_TASK_STACKS (10 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -46,6 +46,7 @@ void Get_all_counters( void );
#define CONFIGURE_MAXIMUM_PERIODS 10
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>

View File

@@ -128,7 +128,9 @@ class Io_during_interrupt
#define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_STACK_SIZE 0x2000
#define CONFIGURE_INIT_TASK_STACK_SIZE (4 * RTEMS_MINIMUM_STACK_SIZE)
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>

View File

@@ -47,6 +47,7 @@ void Get_all_counters( void );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (15 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -39,6 +39,8 @@ rtems_asr Process_asr( rtems_signal_set );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* variables */

View File

@@ -70,6 +70,8 @@ void Exit_test( void );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* variables */

View File

@@ -31,6 +31,8 @@ rtems_task Init(
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -35,6 +35,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -51,6 +51,8 @@ void Task_switch(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -74,6 +74,8 @@ rtems_extension Task_exit_extension(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (4 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -40,6 +40,8 @@ rtems_task Task_1(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -97,6 +97,8 @@ void Screen14( void );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (2 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -77,6 +77,8 @@ rtems_timer_service_routine TA2_send_10_to_self(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (2 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -63,6 +63,8 @@ rtems_task Task5(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (2 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -55,6 +55,8 @@ rtems_task Task_3(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (2 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -51,6 +51,8 @@ rtems_task Task_2(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -54,6 +54,8 @@ rtems_task Task5(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -45,6 +45,8 @@ rtems_task Task_1(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (18 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -47,6 +47,8 @@ void Get_all_counters( void );
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (15 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -45,6 +45,8 @@ rtems_task Task_1(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -38,6 +38,8 @@ rtems_task Task_1(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -42,6 +42,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* global variables */

View File

@@ -37,6 +37,8 @@ rtems_task Init(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS (1 * RTEMS_MINIMUM_STACK_SIZE)
#include <confdefs.h>
/* end of include file */