Changeset 09b6a093 in rtems


Ignore:
Timestamp:
05/24/00 17:06:54 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
646decbd
Parents:
9a03459c
Message:

Significantly lowered the default memory requirements:

  • CONFIGURE_RTEMS_INIT_TASKS_TABLE was 10 now 0
  • CONFIGURE_POSIX_INIT_THREAD_TABLE was 10 now 0
  • CONFIGURE_ITRON_INIT_TASK_TABLE was 10 now 0
  • CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was 20 now 3
  • added CONFIGURE_NUMBER_OF_TERMIOS_PORTS and defaulted to 1
  • added CONFIGURE_TERMIOS_DISABLED defaulted to "enabled"
  • miniIMFS is now the default

Added configuration error checks that:

+ Ensure > 0 tasks/threads are configured
+ Ensure at least one inititalization task/thread is defined

bsp.h now defines these so BSP specific requirements
are accounted for.

+ CONFIGURE_NUMBER_OF_TERMIOS_PORTS
+ CONFIGURE_INTERRUPT_STACK_MEMORY

console_reserve_resources and rtems_termios_reserve_resources
are no longer required and considered obsolete. Calls to
rtems_termios_reserve_resources have been eliminated although
the routine is still there and the body "if 0'ed".

We are very close to having NO reason to modify the
configuration tables in the BSP. Be warned that eventually
we would like to see the need for BSP_Configuration
eliminated!

Location:
c/src
Files:
165 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/i386ex/startup/bspstart.c

    r9a03459c r09b6a093  
    103103  Cpu_table.interrupt_table_segment = get_ds();
    104104  Cpu_table.interrupt_table_offset = (void *)Interrupt_descriptor_table;
    105   Cpu_table.interrupt_stack_size = 8192;  /* changed Sept 14 STACK_MINIMUM_SIZE */
     105  /* changed Sept 14 STACK_MINIMUM_SIZE */
     106  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    106107
    107108#if defined(RTEMS_POSIX_API)
    108109  BSP_Configuration.work_space_size *= 3;
    109110#endif
    110 
    111   /* BSP_Configuration.work_space_size += 128 * RTEMS_MINIMUM_STACK_SIZE; */
    112111
    113112    BSP_Configuration.work_space_start = (void *)
     
    121120   */
    122121
    123   /*   console_reserve_resources( &BSP_Configuration ); */
    124122  /*
    125123   * Init rtems_interrupt_management
  • c/src/lib/libbsp/i386/pc386/console/console.c

    r9a03459c r09b6a093  
    103103{
    104104  return BSP_irq_enabled_at_i8259s(irq->name);
    105 }
    106 
    107 void console_reserve_resources(rtems_configuration_table *conf)
    108 {
    109     if(BSPConsolePort != BSP_CONSOLE_PORT_CONSOLE)
    110     {
    111       rtems_termios_reserve_resources(conf, 1);
    112     }
    113    
    114   return;
    115105}
    116106
  • c/src/lib/libbsp/i386/pc386/include/bsp.h

    r9a03459c r09b6a093  
    5454#include <bspIo.h>
    5555 
     56/*
     57 *  confdefs.h overrides for this BSP:
     58 *   - number of termios serial ports
     59 *   - Interrupt stack space is not minimum if defined.
     60 */
     61
     62#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
     63#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
     64
    5665/*
    5766 * Network driver configuration
  • c/src/lib/libbsp/i386/pc386/startup/bspstart.c

    r9a03459c r09b6a093  
    164164  Cpu_table.interrupt_table_segment = get_ds();
    165165  Cpu_table.interrupt_table_offset  = (void *)Interrupt_descriptor_table;
    166   Cpu_table.interrupt_stack_size    = 4096;
     166  Cpu_table.interrupt_stack_size    = CONFIGURE_INTERRUPT_STACK_MEMORY;
    167167  Cpu_table.extra_mpci_receive_server_stack = 0;
    168168
     
    174174  BSP_Configuration.work_space_start = (void *)rtemsFreeMemStart;
    175175  rtemsFreeMemStart += BSP_Configuration.work_space_size;
    176 
    177   console_reserve_resources(&BSP_Configuration);
    178176
    179177  /*
  • c/src/lib/libbsp/i386/ts_386ex/console/console.c

    r9a03459c r09b6a093  
    9696}
    9797
    98 void console_reserve_resources(rtems_configuration_table *conf)
    99 {
    100   rtems_termios_reserve_resources(conf, 1);
    101   return;
    102 }
    103 
    10498void __assert (const char *file, int line, const char *msg)
    10599{
  • c/src/lib/libbsp/i386/ts_386ex/include/bsp.h

    r9a03459c r09b6a093  
    2626#include <bspIo.h>
    2727#include <irq.h>
     28
     29/*
     30 *  confdefs.h overrides for this BSP:
     31 *   - termios serial ports (defaults to 1)
     32 *   - Interrupt stack space is not minimum if defined.
     33 */
     34
     35/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     36#define CONFIGURE_INTERRUPT_STACK_MEMORY  (8 * 1024)
    2837 
    2938/*
  • c/src/lib/libbsp/i386/ts_386ex/startup/bspstart.c

    r9a03459c r09b6a093  
    102102  Cpu_table.interrupt_table_segment = get_ds();
    103103  Cpu_table.interrupt_table_offset = (void *)Interrupt_descriptor_table;
    104   Cpu_table.interrupt_stack_size = 8192;
    105   /*
    106 #if defined(RTEMS_POSIX_API)
    107   BSP_Configuration.work_space_size *= 3;
    108 #endif
    109   */
    110     BSP_Configuration.work_space_start = (void *)
     104  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
     105
     106  BSP_Configuration.work_space_start = (void *)
    111107     RAM_END - BSP_Configuration.work_space_size;
    112 
    113   /*
    114    *  Account for the console's resources
    115    */
    116   console_reserve_resources( &BSP_Configuration );
    117108
    118109  /*
  • c/src/lib/libbsp/i960/cvme961/include/bsp.h

    r9a03459c r09b6a093  
    2626#include <console.h>
    2727#include <clockdrv.h>
     28
     29/*
     30 *  confdefs.h overrides for this BSP:
     31 *   - number of termios serial ports (defaults to 1)
     32 *   - Interrupt stack space is not minimum if defined.
     33 */
     34
     35/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     36#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    2837
    2938/*
  • c/src/lib/libbsp/i960/cvme961/startup/bspstart.c

    r9a03459c r09b6a093  
    108108  Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    109109  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    110   Cpu_table.interrupt_stack_size = 4096;
     110  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    111111  Cpu_table.Prcb = Prcb;
    112112
  • c/src/lib/libbsp/i960/rxgen960/include/bsp.h

    r9a03459c r09b6a093  
    2626#include <console.h>
    2727#include <clockdrv.h>
     28
     29/*
     30 *  confdefs.h overrides for this BSP:
     31 *   - number of termios serial ports (defaults to 1)
     32 *   - Interrupt stack space is not minimum if defined.
     33 */
     34
     35/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     36#define CONFIGURE_INTERRUPT_STACK_MEMORY  (8 * 1024)
    2837
    2938/*
  • c/src/lib/libbsp/i960/rxgen960/startup/bspstart.c

    r9a03459c r09b6a093  
    133133  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    134134  Cpu_table.do_zero_of_workspace = TRUE;
    135   Cpu_table.interrupt_stack_size = 8192;
     135  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    136136  Cpu_table.extra_mpci_receive_server_stack = 0;
    137137  Cpu_table.Prcb = Prcb;
     
    141141  Cpu_table.stack_free_hook = 0;
    142142 
    143   /*
    144    * Add 1 region for the RTEMS Malloc
    145    */
    146 
    147   BSP_Configuration.RTEMS_api_configuration->maximum_regions++;
    148 
    149   /*
    150    * Add 1 extension for newlib libc
    151    */
    152 
    153 #ifdef RTEMS_NEWLIB
    154     BSP_Configuration.maximum_extensions++;
    155 #endif
    156 
    157   /*
    158    * Add another extension if using the stack checker
    159    */
    160 
    161 #ifdef STACK_CHECKER_ON
    162     BSP_Configuration.maximum_extensions++;
    163 #endif
    164 
    165 
    166143  /*
    167144   * Tell libio how many fd's we want and allow it to tweak config
  • c/src/lib/libbsp/m68k/dmv152/console/console.c

    r9a03459c r09b6a093  
    127127  }
    128128  return nwrite;
    129 }
    130 
    131 void console_reserve_resources(
    132   rtems_configuration_table *configuration
    133 )
    134 {
    135   rtems_termios_reserve_resources( configuration, 2 );
    136129}
    137130
  • c/src/lib/libbsp/m68k/dmv152/include/bsp.h

    r9a03459c r09b6a093  
    2828#include <zilog/z8536.h>
    2929
     30/*
     31 *  confdefs.h overrides for this BSP:
     32 *   - number of termios serial ports (defaults to 1)
     33 *   - Interrupt stack space is not minimum if defined.
     34 */
     35
     36/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     37#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
     38
     39/*
     40 *  confdefs.h overrides for this BSP:
     41 *   - termios serial ports (defaults to 1)
     42 *   - Interrupt stack space is not minimum if defined.
     43 */
     44
     45#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
     46/* #define CONFIGURE_INTERRUPT_STACK_MEMORY  (TBD * 1024) */
     47 
    3048/*
    3149 *  Define the time limits for RTEMS Test Suite test durations.
  • c/src/lib/libbsp/m68k/dmv152/startup/bspstart.c

    r9a03459c r09b6a093  
    9494  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    9595  Cpu_table.do_zero_of_workspace = TRUE;
    96   Cpu_table.interrupt_stack_size = 4096;
     96  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    9797
    9898  m68k_get_vbr( vbr );
     
    101101  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    102102
    103   /*
    104    *  Account for the console's resources
    105    */
    106 
    107   console_reserve_resources( &BSP_Configuration );
    108 
    109103  /* Clock_exit is done as an atexit() function */
    110104}
  • c/src/lib/libbsp/m68k/efi332/include/bsp.h

    r9a03459c r09b6a093  
    2727#include <sim.h>
    2828#include <qsm.h>
     29
     30/*
     31 *  confdefs.h overrides for this BSP:
     32 *   - number of termios serial ports (defaults to 1)
     33 *   - Interrupt stack space is not minimum if defined.
     34 */
     35
     36/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     37/* #define CONFIGURE_INTERRUPT_STACK_MEMORY  (TBD * 1024) */
    2938
    3039/*
  • c/src/lib/libbsp/m68k/efi68k/include/bsp.h

    r9a03459c r09b6a093  
    2727#include <DP8570A.h>
    2828#include <16550.h>
     29
     30/*
     31 *  confdefs.h overrides for this BSP:
     32 *   - number of termios serial ports (defaults to 1)
     33 *   - Interrupt stack space is not minimum if defined.
     34 */
     35
     36/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     37/* #define CONFIGURE_INTERRUPT_STACK_MEMORY  (TBD * 1024) */
    2938
    3039/*
  • c/src/lib/libbsp/m68k/gen68302/include/bsp.h

    r9a03459c r09b6a093  
    2626#include <iosupp.h>
    2727#include <clockdrv.h>
     28
     29/*
     30 *  confdefs.h overrides for this BSP:
     31 *   - number of termios serial ports (defaults to 1)
     32 *   - Interrupt stack space is not minimum if defined.
     33 */
     34
     35/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     36#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    2837
    2938/*
  • c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c

    r9a03459c r09b6a093  
    8282  Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    8383  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    84   Cpu_table.interrupt_stack_size = 4096;
     84  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    8585}
  • c/src/lib/libbsp/m68k/gen68340/console/console.c

    r9a03459c r09b6a093  
    524524
    525525/******************************************************
    526   Name: console_reserve_resources
    527   Input parameters: -
    528   Output parameters: -
    529   Description: Reserve resources consumed by this driver
    530  *****************************************************/
    531 void console_reserve_resources(
    532   rtems_configuration_table *configuration
    533 )
    534 {
    535         rtems_termios_reserve_resources (configuration, 1);
    536 }
    537 
    538 /******************************************************
    539526  Name: console_initialize
    540527  Input parameters: MAJOR # of console_driver,
  • c/src/lib/libbsp/m68k/gen68340/include/bsp.h

    r9a03459c r09b6a093  
    3030#include <clockdrv.h>
    3131
     32/*
     33 *  confdefs.h overrides for this BSP:
     34 *   - termios serial ports (defaults to 1)
     35 *   - Interrupt stack space is not minimum if defined.
     36 */
     37
     38/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     39#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
     40 
    3241/*
    3342 *  Define the time limits for RTEMS Test Suite test durations.
  • c/src/lib/libbsp/m68k/gen68340/startup/bspstart.c

    r9a03459c r09b6a093  
    8181
    8282  /*
    83    *  Account for the console's resources
    84    */
    85 
    86   console_reserve_resources( &BSP_Configuration );
    87 
    88   /*
    8983   *  initialize the CPU table for this BSP
    9084   */
     
    9387  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    9488  Cpu_table.do_zero_of_workspace = TRUE;
    95   Cpu_table.interrupt_stack_size = 4096;
     89  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    9690}
  • c/src/lib/libbsp/m68k/gen68360/console/consolereserveresources.c

    r9a03459c r09b6a093  
    2828#include "m68360.h"
    2929
    30 /*
    31  * Reserve resources consumed by this driver
    32  */
    33 void console_reserve_resources(
    34   rtems_configuration_table *configuration
    35 )
    36 {
    37         rtems_termios_reserve_resources (configuration, 1);
    38 }
     30int _console_reserve_resources_removed;
  • c/src/lib/libbsp/m68k/gen68360/include/bsp.h

    r9a03459c r09b6a093  
    3636#include <clockdrv.h>
    3737
     38/*
     39 *  confdefs.h overrides for this BSP:
     40 *   - termios serial ports (defaults to 1)
     41 *   - Interrupt stack space is not minimum if defined.
     42 */
     43
     44/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     45#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
     46 
    3847/*
    3948 * Network driver configuration
  • c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c

    r9a03459c r09b6a093  
    7575
    7676  /*
    77    *  Account for the console's resources
    78    */
    79 
    80   console_reserve_resources( &BSP_Configuration );
    81 
    82   /*
    8377   *  initialize the CPU table for this BSP
    8478   */
     
    8781  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    8882  Cpu_table.do_zero_of_workspace = TRUE;
    89   Cpu_table.interrupt_stack_size = 4096;
     83  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    9084}
  • c/src/lib/libbsp/m68k/idp/include/bsp.h

    r9a03459c r09b6a093  
    1414#include <motorola/mc68230.h>
    1515#include <motorola/mc68681.h>
     16
     17/*
     18 *  confdefs.h overrides for this BSP:
     19 *   - number of termios serial ports (defaults to 1)
     20 *   - Interrupt stack space is not minimum if defined.
     21 */
     22
     23/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     24#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    1625
    1726#define DUART_ADDR      0xb00003   /* base address of the MC68681 DUART */
  • c/src/lib/libbsp/m68k/idp/startup/bspstart.c

    r9a03459c r09b6a093  
    100100  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    101101  Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
    102   Cpu_table.interrupt_stack_size = 4096;
     102  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    103103
    104104  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
  • c/src/lib/libbsp/m68k/mvme136/include/bsp.h

    r9a03459c r09b6a093  
    2424#include <console.h>
    2525#include <iosupp.h>
     26
     27/*
     28 *  confdefs.h overrides for this BSP:
     29 *   - number of termios serial ports (defaults to 1)
     30 *   - Interrupt stack space is not minimum if defined.
     31 */
     32
     33/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     34#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    2635
    2736/*
  • c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c

    r9a03459c r09b6a093  
    8383  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    8484  Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
    85   Cpu_table.interrupt_stack_size = 4096;
     85  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    8686
    8787  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
  • c/src/lib/libbsp/m68k/mvme147/include/bsp.h

    r9a03459c r09b6a093  
    2828#include <console.h>
    2929#include <iosupp.h>
     30
     31/*
     32 *  confdefs.h overrides for this BSP:
     33 *   - number of termios serial ports (defaults to 1)
     34 *   - Interrupt stack space is not minimum if defined.
     35 */
     36
     37/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     38#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    3039
    3140/* Constants */
  • c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c

    r9a03459c r09b6a093  
    8989  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    9090  Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
    91   Cpu_table.interrupt_stack_size = 4096;
     91  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    9292
    9393  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
  • c/src/lib/libbsp/m68k/mvme147s/include/bsp.h

    r9a03459c r09b6a093  
    2828#include <console.h>
    2929#include <iosupp.h>
     30
     31/*
     32 *  confdefs.h overrides for this BSP:
     33 *   - number of termios serial ports (defaults to 1)
     34 *   - Interrupt stack space is not minimum if defined.
     35 */
     36
     37/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     38#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    3039
    3140/* Constants */
  • c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c

    r9a03459c r09b6a093  
    149149  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    150150  Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
    151   Cpu_table.interrupt_stack_size = 4096;
     151  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    152152
    153153  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
  • c/src/lib/libbsp/m68k/mvme162/include/bsp.h

    r9a03459c r09b6a093  
    3131#include <console.h>
    3232#include <iosupp.h>
     33
     34/*
     35 *  confdefs.h overrides for this BSP:
     36 *   - number of termios serial ports (defaults to 1)
     37 *   - Interrupt stack space is not minimum if defined.
     38 */
     39
     40/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     41#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    3342
    3443/*
  • c/src/lib/libbsp/m68k/mvme167/console/console.c

    r9a03459c r09b6a093  
    13881388 ***************
    13891389 *
    1390  *  All these functions are prototyped in rtems/c/src/lib/include/console.h,
    1391  *  except console_reserve_resources(), which is prototyped in
    1392  *  rtems/c/src/lib/libbsp/m68k/mvme167/include/bsp.h
    1393  */
    1394 
    1395 /*
    1396  * Reserve resources consumed by this driver. Allocate enough space in the
    1397  * object table to hold semaphores for 4 minor devices.
    1398  */
    1399 void console_reserve_resources(
    1400   rtems_configuration_table *configuration
    1401 )
    1402 {
    1403   rtems_termios_reserve_resources (configuration, 4);
    1404 }
     1390 *  All these functions are prototyped in rtems/c/src/lib/include/console.h.
     1391 */
    14051392
    14061393/*
  • c/src/lib/libbsp/m68k/mvme167/include/bsp.h

    r9a03459c r09b6a093  
    3333
    3434
     35/*
     36 *  confdefs.h overrides for this BSP:
     37 *   - termios serial ports (defaults to 1)
     38 *   - Interrupt stack space is not minimum if defined.
     39 */
     40
     41#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 4
     42#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
     43 
    3544/*
    3645 * Network driver configuration
     
    404413#define CD2401_CLK_RATE 20000000
    405414
    406 void console_reserve_resources( rtems_configuration_table *configuration );
    407 
    408415/*
    409416 *  Debug print functions: implemented in console.c
  • c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c

    r9a03459c r09b6a093  
    133133  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    134134  Cpu_table.interrupt_vector_table = (m68k_isr_entry *) &M68Kvec;
    135   Cpu_table.interrupt_stack_size = 4096; /* Must match value in start.s */
     135  /* Must match value in start.s */
     136  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    136137 
    137138  /*
     
    151152   */
    152153  BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
    153 
    154   /*
    155    *  Increase the number of semaphores that can be created on this node. The
    156    *  termios package requires one semaphore to protect the list of termios-
    157    *  capable terminals, and up to four semaphores per termios-capable
    158    *  terminal (add calls here as required). The maximum number of semaphores
    159    *  must be set before returning to boot_card(), which will call
    160    *  rtems_initialize_executive_early(). This latter function eventually
    161    *  calls _RTEMS_API_Initialize(), which in turn calls
    162    *  _Semaphore_Manager_initialization(), which allocates the space for the
    163    *  maximum number of semaphores in the object table. These calls occur
    164    *  before the call to the predriver hook and the calls to the device
    165    *  initialization callbacks. Hence, we must do this here.
    166    */
    167   console_reserve_resources( &BSP_Configuration );
    168154}
  • c/src/lib/libbsp/m68k/ods68302/include/bsp.h

    r9a03459c r09b6a093  
    2727#include <clockdrv.h>
    2828#include <m68302.h>
     29
     30/*
     31 *  confdefs.h overrides for this BSP:
     32 *   - number of termios serial ports (defaults to 1)
     33 *   - Interrupt stack space is not minimum if defined.
     34 */
     35
     36/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     37#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    2938
    3039#if defined(VARIANT)
  • c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c

    r9a03459c r09b6a093  
    7575  Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    7676  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    77   Cpu_table.interrupt_stack_size = 4096;
     77  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    7878}
  • c/src/lib/libbsp/mips64orion/p4000/include/bsp.h

    r9a03459c r09b6a093  
    2626#include <console.h>
    2727#include <clockdrv.h>
     28
     29/*
     30 *  confdefs.h overrides for this BSP:
     31 *   - number of termios serial ports (defaults to 1)
     32 *   - Interrupt stack space is not minimum if defined.
     33 */
     34
     35/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     36#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    2837
    2938extern void WriteDisplay( char * string );
  • c/src/lib/libbsp/mips64orion/p4000/startup/bspstart.c

    r9a03459c r09b6a093  
    115115  Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    116116  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    117   Cpu_table.interrupt_stack_size = 4096;
     117  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    118118  Cpu_table.clicks_per_microsecond = CPU_CLOCK_RATE_MHZ;
    119119}
  • c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h

    r9a03459c r09b6a093  
    2525#include <console.h>
    2626#include <clockdrv.h>
     27
     28/*
     29 *  confdefs.h overrides for this BSP:
     30 *   - number of termios serial ports (defaults to 1)
     31 *   - Interrupt stack space is not minimum if defined.
     32 */
     33
     34/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     35#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    2736
    2837/*
  • c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c

    r9a03459c r09b6a093  
    102102  Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    103103  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    104   Cpu_table.interrupt_stack_size = 4096;
     104  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    105105}
  • c/src/lib/libbsp/powerpc/dmv177/include/bsp.h

    r9a03459c r09b6a093  
    2121#endif
    2222
     23/*
     24 *  confdefs.h overrides for this BSP:
     25 *   - termios serial ports (defaults to 1)
     26 *   - Interrupt stack space is not minimum if defined.
     27 */
     28
     29#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 4
     30#define CONFIGURE_INTERRUPT_STACK_MEMORY  (12 * 1024)
     31 
    2332#ifdef ASM
    2433/* Definition of where to store registers in alignment handler */
  • c/src/lib/libbsp/powerpc/dmv177/startup/bspstart.c

    r9a03459c r09b6a093  
    114114
    115115  /*
    116    *  Account for the console's resources
    117    */
    118 
    119   console_reserve_resources( &BSP_Configuration );
    120 
    121   /*
    122116   *  initialize the CPU table for this BSP
    123117   */
     
    131125
    132126  Cpu_table.do_zero_of_workspace = TRUE;
    133   Cpu_table.interrupt_stack_size = (12 * 1024);
     127  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    134128
    135129  /*
  • c/src/lib/libbsp/powerpc/eth_comm/include/bsp.h

    r9a03459c r09b6a093  
    2626#include <clockdrv.h>
    2727
     28/*
     29 *  confdefs.h overrides for this BSP:
     30 *   - termios serial ports (defaults to 1)
     31 *   - Interrupt stack space is not minimum if defined.
     32 */
     33
     34/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     35#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
     36 
    2837/*
    2938 * Network driver configuration
  • c/src/lib/libbsp/powerpc/eth_comm/startup/bspstart.c

    r9a03459c r09b6a093  
    149149  Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    150150  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    151   Cpu_table.interrupt_stack_size = 4 * 1024;
     151  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    152152
    153153  Cpu_table.clicks_per_usec = 1;  /* for 4MHz extclk */
     
    160160  Cpu_table.timer_least_valid = 0;
    161161  Cpu_table.clock_speed = 40000000;
    162 
    163   /*
    164    * Call this in case we use TERMIOS for console I/O
    165    */
    166   m860_console_reserve_resources(&BSP_Configuration);
    167162
    168163  /*
  • c/src/lib/libbsp/powerpc/helas403/include/bsp.h

    r9a03459c r09b6a093  
    4444extern "C" {
    4545#endif
     46
     47/*
     48 *  confdefs.h overrides for this BSP:
     49 *   - number of termios serial ports (defaults to 1)
     50 *   - Interrupt stack space is not minimum if defined.
     51 */
     52
     53/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     54#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    4655
    4756#ifdef ASM
  • c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c

    r9a03459c r09b6a093  
    157157   *  not malloc'ed.  It is just "pulled from the air".
    158158   */
    159   /* FIXME: this should be modified. work_space_size cannot be valid
    160    * now, since console_reserve_resources will modify something...
    161    */
    162159  /* FIME: plan usage of RAM better:
    163160     - make top of ram dynamic,
     
    171168
    172169  /*
    173    *  Account for the console's resources
    174    */
    175 
    176   console_reserve_resources( &BSP_Configuration );
    177 
    178   /*
    179170   *  initialize the CPU table for this BSP
    180171   */
     
    183174  Cpu_table.predriver_hook  = bsp_predriver_hook;
    184175  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    185   Cpu_table.interrupt_stack_size = 4 * 1024;
     176  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    186177
    187178  Cpu_table.clicks_per_usec = 25;
  • c/src/lib/libbsp/powerpc/papyrus/include/bsp.h

    r9a03459c r09b6a093  
    3636extern "C" {
    3737#endif
     38
     39/*
     40 *  confdefs.h overrides for this BSP:
     41 *   - number of termios serial ports (defaults to 1)
     42 *   - Interrupt stack space is not minimum if defined.
     43 */
     44
     45/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     46#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    3847
    3948#ifdef ASM
  • c/src/lib/libbsp/powerpc/papyrus/startup/bspstart.c

    r9a03459c r09b6a093  
    121121  Cpu_table.pretasking_hook = bsp_pretasking_hook;  /* init libc, etc. */
    122122  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    123   Cpu_table.interrupt_stack_size = 4 * 1024;
     123  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    124124
    125125  Cpu_table.clicks_per_usec = 10;
  • c/src/lib/libbsp/powerpc/ppcn_60x/console/console.c

    r9a03459c r09b6a093  
    135135}
    136136 
    137 void console_reserve_resources(
    138   rtems_configuration_table *configuration
    139 )
    140 {
    141   rtems_termios_reserve_resources( configuration, 2 );
    142 }
    143 
    144 
    145137rtems_device_driver console_close(
    146138  rtems_device_major_number major,
  • c/src/lib/libbsp/powerpc/ppcn_60x/include/bsp.h

    r9a03459c r09b6a093  
    3434#endif
    3535
     36/*
     37 *  confdefs.h overrides for this BSP:
     38 *   - termios serial ports (defaults to 1)
     39 *   - Interrupt stack space is not minimum if defined.
     40 */
     41
     42#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
     43#define CONFIGURE_INTERRUPT_STACK_MEMORY  (32 * 1024)
     44 
    3645/*  Define processor identification. */
    3746
  • c/src/lib/libbsp/powerpc/ppcn_60x/startup/bspstart.c

    r9a03459c r09b6a093  
    278278
    279279  /*
    280    * Add 1 region for RTEMS Malloc
    281    */
    282 
    283   BSP_Configuration.RTEMS_api_configuration->maximum_regions++;
    284 
    285   /*
    286    *  Account for the console's resources
    287    */
    288 
    289   console_reserve_resources( &BSP_Configuration );
    290 
    291   /*
    292280   *  initialize the CPU table for this BSP
    293281   */
     
    298286  Cpu_table.postdriver_hook = bsp_postdriver_hook;
    299287  Cpu_table.do_zero_of_workspace = TRUE;
    300   Cpu_table.interrupt_stack_size = (32 * 1024);
     288  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    301289  Cpu_table.clicks_per_usec = ulCpuBusClock/4000000;
    302290
  • c/src/lib/libbsp/powerpc/score603e/console/consolereserveresources.c

    r9a03459c r09b6a093  
    2121#include "consolebsp.h"
    2222
    23 void console_reserve_resources(
    24   rtems_configuration_table *configuration
    25 )
    26 {
    27   rtems_termios_reserve_resources( configuration, NUM_Z85C30_PORTS );
    28 }
     23int console_reserve_resources_removed;
    2924
  • c/src/lib/libbsp/powerpc/score603e/include/bsp.h

    r9a03459c r09b6a093  
    2121#endif
    2222
     23/*
     24 *  confdefs.h overrides for this BSP:
     25 *   - termios serial ports (defaults to 1)
     26 *   - Interrupt stack space is not minimum if defined.
     27 */
     28
     29#if (HAS_PMC_PSC8)
     30#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS (4 + 4)
     31#else
     32#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS (4)
     33#endif
     34#define CONFIGURE_INTERRUPT_STACK_MEMORY  (12 * 1024)
     35 
    2336#ifdef ASM
    2437/* Definition of where to store registers in alignment handler */
  • c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c

    r9a03459c r09b6a093  
    277277
    278278  /*
    279    *  Account for the console's resources
    280    */
    281 
    282   console_reserve_resources( &BSP_Configuration );
    283 
    284   /*
    285279   *  initialize the CPU table for this BSP
    286280   */
     
    292286  Cpu_table.clicks_per_usec = 66 / 4;  /* XXX get from linkcmds */
    293287  Cpu_table.do_zero_of_workspace = TRUE;
    294   Cpu_table.interrupt_stack_size = (12 * 1024);
     288  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    295289  Cpu_table.idle_task_stack_size = (3 * STACK_MINIMUM_SIZE);
    296290
  • c/src/lib/libbsp/powerpc/shared/console/console.c

    r9a03459c r09b6a093  
    8383{
    8484  return BSP_irq_enabled_at_i8259s(irq->name);
    85 }
    86 
    87 void console_reserve_resources(rtems_configuration_table *conf)
    88 {
    89     if(BSPConsolePort != BSP_CONSOLE_PORT_CONSOLE)
    90     {
    91       rtems_termios_reserve_resources(conf, 1);
    92     }
    93    
    94   return;
    9585}
    9686
  • c/src/lib/libbsp/powerpc/shared/include/bsp.h

    r9a03459c r09b6a093  
    1919#include <bsp/vectors.h>
    2020
     21/*
     22 *  confdefs.h overrides for this BSP:
     23 *   - termios serial ports (defaults to 1)
     24 *   - Interrupt stack space is not minimum if defined.
     25 */
     26
     27/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     28#define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
     29 
    2130#ifndef ASM
    2231#define outport_byte(port,value) outb(value,port)
  • c/src/lib/libbsp/powerpc/shared/startup/bspstart.c

    r9a03459c r09b6a093  
    7474 */
    7575#define INIT_STACK_SIZE 0x1000
    76 #define INTR_STACK_SIZE 0x4000
     76#define INTR_STACK_SIZE CONFIGURE_INTERRUPT_STACK_MEMORY
    7777
    7878void BSP_panic(char *s)
     
    303303   */
    304304
    305   Cpu_table.pretasking_hook             = bsp_pretasking_hook;    /* init libc, etc. */
    306   Cpu_table.postdriver_hook             = bsp_postdriver_hook;
    307   Cpu_table.do_zero_of_workspace        = TRUE;
    308   Cpu_table.interrupt_stack_size        = INTR_STACK_SIZE;
    309   Cpu_table.clicks_per_usec             = BSP_processor_frequency/(BSP_time_base_divisor * 1000);
    310   Cpu_table.exceptions_in_RAM           = TRUE;
     305  Cpu_table.pretasking_hook      = bsp_pretasking_hook;    /* init libc, etc. */
     306  Cpu_table.postdriver_hook      = bsp_postdriver_hook;
     307  Cpu_table.do_zero_of_workspace = TRUE;
     308  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
     309  Cpu_table.clicks_per_usec      = BSP_processor_frequency/(BSP_time_base_divisor * 1000);
     310  Cpu_table.exceptions_in_RAM    = TRUE;
    311311
    312312#ifdef SHOW_MORE_INIT_SETTINGS
     
    324324
    325325  /*
    326    *  Account for the console's resources
    327    */
    328 
    329   console_reserve_resources( &BSP_Configuration );
    330   /*
    331326   * Initalize RTEMS IRQ system
    332327   */
  • c/src/lib/libbsp/sh/gensh1/include/bsp.h

    r9a03459c r09b6a093  
    3434#include <clockdrv.h>
    3535#include <console.h>
     36
     37/*
     38 *  confdefs.h overrides for this BSP:
     39 *   - number of termios serial ports (defaults to 1)
     40 *   - Interrupt stack space is not minimum if defined.
     41 */
     42
     43/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     44#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    3645
    3746/* EDIT: To activate the sci driver, change the define below */
  • c/src/lib/libbsp/sh/gensh1/startup/bspstart.c

    r9a03459c r09b6a093  
    118118  _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
    119119
    120   /* This isn't used anywhere */
    121120  Cpu_table.interrupt_stack_size =
    122121    (unsigned32) (&CPU_Interrupt_stack_high) -
     
    129128 
    130129#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
    131   Cpu_table.interrupt_stack_size = 4096;
     130  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    132131#endif
    133132  Cpu_table.clicks_per_second = HZ ;
  • c/src/lib/libbsp/sh/gensh2/include/bsp.h

    r9a03459c r09b6a093  
    4545#include <clockdrv.h>
    4646#include <console.h>
     47
     48/*
     49 *  confdefs.h overrides for this BSP:
     50 *   - number of termios serial ports (defaults to 1)
     51 *   - Interrupt stack space is not minimum if defined.
     52 */
     53
     54/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     55#define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    4756
    4857#if 0
  • c/src/lib/libbsp/sh/gensh2/startup/bspstart.c

    r9a03459c r09b6a093  
    136136
    137137#if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
    138   Cpu_table.interrupt_stack_size = 4096;
     138  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    139139#endif
    140140
  • c/src/lib/libbsp/shared/console.c

    r9a03459c r09b6a093  
    105105}
    106106 
    107 /*PAGE
    108  *
    109  *  console_reserve_resources
    110  *
    111  *  This routine uses the termios driver to reserve resources.
    112  */
    113 
    114 void console_reserve_resources(
    115   rtems_configuration_table *configuration
    116 )
    117 {
    118   rtems_termios_reserve_resources( configuration, 4 );
    119 }
    120 
    121 
    122107/*PAGE
    123108 *
  • c/src/lib/libbsp/sparc/erc32/console/consolereserveresources.c

    r9a03459c r09b6a093  
    1919#include <assert.h>
    2020
    21 void console_reserve_resources(
    22   rtems_configuration_table *configuration
    23 )
    24 {
    25   rtems_termios_reserve_resources( configuration, 2 );
    26 }
     21int console_reserve_resources_removed;
  • c/src/lib/libbsp/sparc/erc32/include/bsp.h

    r9a03459c r09b6a093  
    2828
    2929#include <rtems.h>
    30 #include <clockdrv.h>
    31 #include <console.h>
    3230#include <iosupp.h>
    3331#include <erc32.h>
     32#include <clockdrv.h>
     33
     34#include <console.h>
     35
     36/*
     37 *  confdefs.h overrides for this BSP:
     38 *   - two termios serial ports
     39 *   - Interrupt stack space is not minimum if defined.
     40 */
     41
     42#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
     43#define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
    3444
    3545/*
  • c/src/lib/libbsp/sparc/erc32/startup/bspstart.c

    r9a03459c r09b6a093  
    213213   */
    214214
    215   Cpu_table.interrupt_stack_size = (24 * 1024);
    216 
    217 /*
    218 #if defined(RTEMS_POSIX_API)
    219   BSP_Configuration.work_space_size *= 3;
    220 #endif
    221 */
     215  Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    222216
    223217  work_space_start =
     
    231225  BSP_Configuration.work_space_start = work_space_start;
    232226
    233   /*
    234    *  Account for the console's resources
    235    */
    236 
    237   console_reserve_resources( &BSP_Configuration );
    238 
    239227#if SIMSPARC_FAST_IDLE
    240228  /*
  • c/src/lib/libbsp/sparc/erc32/startup/linkcmds

    r9a03459c r09b6a093  
    144144    *(.gnu.linkonce.d*)
    145145    *(.gcc_except_table)
    146     edata = ALIGN(0x10);
     146    . = ALIGN(0x10);
     147    edata = .;
    147148    _edata = .;
    148149  } > ram
  • c/src/lib/libbsp/unix/posix/include/bsp.h

    r9a03459c r09b6a093  
    2424#include <console.h>
    2525#include <iosupp.h>
     26
     27/*
     28 *  confdefs.h overrides for this BSP:
     29 *   - number of termios serial ports (defaults to 1)
     30 *   - Interrupt stack space is not minimum if defined.
     31 */
     32
     33/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
     34/* #define CONFIGURE_INTERRUPT_STACK_MEMORY  (TBD * 1024) */
    2635
    2736/*
  • c/src/lib/libbsp/unix/posix/startup/bspstart.c

    r9a03459c r09b6a093  
    206206     */
    207207
    208     Cpu_table.interrupt_stack_size = (12 * 1024);
     208    Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    209209
    210210    Cpu_table.extra_mpci_receive_server_stack = 0;
  • c/src/lib/libc/termiosreserveresources.c

    r9a03459c r09b6a093  
    77#include <rtems.h>
    88
     9#if 0
    910static int first_time;   /* assumed to be zeroed by BSS initialization */
     11#endif
    1012
    1113void rtems_termios_reserve_resources (
     
    1416)
    1517{
     18#if 0
    1619        rtems_api_configuration_table *rtems_config;
     20
    1721
    1822        if (!configuration)
     
    2529        first_time = 1;
    2630        rtems_config->maximum_semaphores += (4 * number_of_devices);
     31#endif
    2732}
    2833
  • c/src/lib/libcpu/powerpc/mpc821/console-generic/console-generic.c

    r9a03459c r09b6a093  
    7272static int m821_get_brg_cd(int);
    7373unsigned char m821_get_brg_clk(int);
    74 void m821_console_reserve_resources(rtems_configuration_table *);
    7574unsigned char m821_get_brg_clk(int);
    7675
     
    678677}
    679678
    680 /*
    681  * This is needed in case we use TERMIOS
    682  */
    683 void m821_console_reserve_resources(rtems_configuration_table *configuration)
    684 {
    685   rtems_termios_reserve_resources (configuration, 1);
    686 }
    687 
    688679void m821_console_initialize(void)
    689680{
  • c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c

    r9a03459c r09b6a093  
    7575static int m860_get_brg_cd(int);
    7676unsigned char m860_get_brg_clk(int);
    77 void m860_console_reserve_resources(rtems_configuration_table *);
    7877unsigned char m860_get_brg_clk(int);
    7978
     
    769768  TxBd[minor]->status = M860_BD_READY | M860_BD_WRAP;
    770769  return 0;
    771 }
    772 
    773 /*
    774  * This is needed in case we use TERMIOS
    775  */
    776 void m860_console_reserve_resources(rtems_configuration_table *configuration)
    777 {
    778   rtems_termios_reserve_resources (configuration, 1);
    779770}
    780771
  • c/src/lib/libcpu/powerpc/ppc403/console/console.c

    r9a03459c r09b6a093  
    405405 */
    406406
    407 /*
    408  * Reserve resources consumed by this driver
    409  */
    410 void console_reserve_resources(
    411   rtems_configuration_table *configuration
    412 )
    413 {
    414         rtems_termios_reserve_resources (configuration, 1);
    415 }
    416 
    417407/*  console_initialize
    418408 *
  • c/src/libmisc/dummy/dummy.c

    r9a03459c r09b6a093  
    2727
    2828#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     29#define CONFIGURE_MAXIMUM_TASKS 1
    2930
    3031#define CONFIGURE_INIT
  • c/src/tests/itrontests/itronhello/system.h

    r9a03459c r09b6a093  
    2525#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2626
     27#define CONFIGURE_MAXIMUM_ITRON_TASKS      1
     28
    2729#define CONFIGURE_ITRON_INIT_TASK_TABLE
    2830
  • c/src/tests/itrontests/itronmbf01/system.h

    r9a03459c r09b6a093  
    2626#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    2727
     28#define CONFIGURE_MAXIMUM_ITRON_TASKS             1
     29#define CONFIGURE_MAXIMUM_ITRON_MESSAGE_BUFFERS   10
     30
    2831#define CONFIGURE_ITRON_INIT_TASK_TABLE
    29 #define CONFIGURE_MAXIMUM_ITRON_MESSAGE_BUFFERS   10
    3032#define CONFIGURE_ITRON_INIT_TASK_STACK_SIZE (4 * RTEMS_MINIMUM_STACK_SIZE)
    3133
  • c/src/tests/itrontests/itronmbox01/system.h

    r9a03459c r09b6a093  
    2525#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2626
     27#define CONFIGURE_MAXIMUM_ITRON_TASKS      1
     28
    2729#define CONFIGURE_ITRON_INIT_TASK_TABLE
    2830
  • c/src/tests/itrontests/itronsem01/system.h

    r9a03459c r09b6a093  
    2727#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2828
     29#define CONFIGURE_MAXIMUM_ITRON_TASKS       1
     30#define CONFIGURE_MAXIMUM_ITRON_SEMAPHORES  10
     31
    2932#define CONFIGURE_ITRON_INIT_TASK_TABLE
    30 #define CONFIGURE_MAXIMUM_ITRON_SEMAPHORES  10
    3133
    3234#include <confdefs.h>
  • c/src/tests/itrontests/itrontask01/system.h

    r9a03459c r09b6a093  
    2727#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    2828
     29#define CONFIGURE_MAXIMUM_ITRON_TASKS      4
     30
    2931#define CONFIGURE_ITRON_INIT_TASK_TABLE
    3032
  • c/src/tests/itrontests/itrontask02/system.h

    r9a03459c r09b6a093  
    2626
    2727#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
     28
     29#define CONFIGURE_MAXIMUM_ITRON_TASKS      5
     30
    2831#define CONFIGURE_ITRON_INIT_TASK_TABLE
    2932
  • c/src/tests/itrontests/itrontask03/system.h

    r9a03459c r09b6a093  
    2929#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    3030#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     31
     32#define CONFIGURE_MAXIMUM_ITRON_TASKS      6
     33
    3134#define CONFIGURE_ITRON_INIT_TASK_TABLE
    3235
  • c/src/tests/itrontests/itrontask04/system.h

    r9a03459c r09b6a093  
    2929#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    3030#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     31
     32#define CONFIGURE_MAXIMUM_ITRON_TASKS      5
     33
    3134#define CONFIGURE_ITRON_INIT_TASK_TABLE
    3235
  • c/src/tests/itrontests/itrontime01/system.h

    r9a03459c r09b6a093  
    2525#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2626
     27#define CONFIGURE_MAXIMUM_ITRON_TASKS      1
     28
    2729#define CONFIGURE_ITRON_INIT_TASK_TABLE
    2830
  • c/src/tests/libtests/monitor/system.h

    r9a03459c r09b6a093  
    3939#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4040
     41#define CONFIGURE_MAXIMUM_TASKS               6
     42#define CONFIGURE_MAXIMUM_PERIODS             10
     43
    4144#define CONFIGURE_INIT_TASK_PRIORITY          10
    4245#define CONFIGURE_INIT_TASK_INITIAL_MODES     RTEMS_DEFAULT_MODES
    43 #define CONFIGURE_MAXIMUM_PERIODS             10
     46#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4447
    45 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4648#define CONFIGURE_EXTRA_TASK_STACKS           (3 * RTEMS_MINIMUM_STACK_SIZE)
    4749
  • c/src/tests/libtests/putenvtest/init.c

    r9a03459c r09b6a093  
    4141#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3)
    4242
     43#define CONFIGURE_MAXIMUM_TASKS               1
     44
    4345#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4446
  • c/src/tests/libtests/rtems++/System.h

    r9a03459c r09b6a093  
    116116#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    117117
     118#define CONFIGURE_MAXIMUM_TASKS               8
    118119#define CONFIGURE_MAXIMUM_TIMERS              1
    119120#define CONFIGURE_MAXIMUM_SEMAPHORES          2
  • c/src/tests/libtests/rtmonuse/system.h

    r9a03459c r09b6a093  
    3939#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4040
     41#define CONFIGURE_MAXIMUM_TASKS               6
     42#define CONFIGURE_MAXIMUM_PERIODS             10
     43
    4144#define CONFIGURE_INIT_TASK_PRIORITY          10
    4245#define CONFIGURE_INIT_TASK_INITIAL_MODES     RTEMS_DEFAULT_MODES
    43 #define CONFIGURE_MAXIMUM_PERIODS             10
    4446
    4547#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
  • c/src/tests/libtests/stackchk/system.h

    r9a03459c r09b6a093  
    3737#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3838
     39#define CONFIGURE_MAXIMUM_TASKS               4
     40
    3941#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4042
  • c/src/tests/libtests/termios/init.c

    r9a03459c r09b6a093  
    2828#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2929
     30#define CONFIGURE_MAXIMUM_TASKS       1
     31
    3032#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3133
    32 #define CONFIGURE_MAXIMUM_SEMAPHORES    20
    33 #define CONFIGURE_MAXIMUM_TIMERS    5
    34 #define CONFIGURE_MAXIMUM_PERIODS   1
    35 
    3634#define CONFIGURE_MICROSECONDS_PER_TICK 1000
    3735
    3836#define CONFIGURE_INIT
     37
    3938rtems_task Init (rtems_task_argument argument);
    4039
  • c/src/tests/mptests/mp01/system.h

    r9a03459c r09b6a093  
    3333#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3434 
     35#define CONFIGURE_MAXIMUM_TASKS           4
     36
     37#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_GLOBAL
    3538#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    36 #define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_GLOBAL
    3739
    3840#include <confdefs.h>
  • c/src/tests/mptests/mp02/system.h

    r9a03459c r09b6a093  
    3232#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    3333#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     34
     35#define CONFIGURE_MAXIMUM_TASKS               2
    3436 
    3537#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
  • c/src/tests/mptests/mp03/system.h

    r9a03459c r09b6a093  
    3838#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3939 
     40#define CONFIGURE_MAXIMUM_TASKS               2
    4041#define CONFIGURE_MAXIMUM_TIMERS              1
    4142
  • c/src/tests/mptests/mp04/system.h

    r9a03459c r09b6a093  
    3333#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3434 
     35#define CONFIGURE_MAXIMUM_TASKS               2
    3536#define CONFIGURE_MAXIMUM_TIMERS              1
    3637
  • c/src/tests/mptests/mp05/system.h

    r9a03459c r09b6a093  
    3535#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3636 
     37#define CONFIGURE_MAXIMUM_TASKS               2
    3738#define CONFIGURE_MAXIMUM_TIMERS              1
    3839
  • c/src/tests/mptests/mp06/system.h

    r9a03459c r09b6a093  
    3333#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3434 
     35#define CONFIGURE_MAXIMUM_TASKS               2
    3536#define CONFIGURE_MAXIMUM_TIMERS              1
    3637
  • c/src/tests/mptests/mp07/system.h

    r9a03459c r09b6a093  
    3333#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3434 
     35#define CONFIGURE_MAXIMUM_TASKS               2
    3536#define CONFIGURE_MAXIMUM_TIMERS              1
    3637
  • c/src/tests/mptests/mp08/system.h

    r9a03459c r09b6a093  
    3333#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3434 
     35#define CONFIGURE_MAXIMUM_TASKS               2
    3536#define CONFIGURE_MAXIMUM_TIMERS              1
    3637#define CONFIGURE_MAXIMUM_SEMAPHORES          1
  • c/src/tests/mptests/mp09/system.h

    r9a03459c r09b6a093  
    3737#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3838 
     39#define CONFIGURE_MAXIMUM_TASKS               2
    3940#define CONFIGURE_MAXIMUM_TIMERS              1
    4041#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
  • c/src/tests/mptests/mp10/system.h

    r9a03459c r09b6a093  
    4242 
    4343#if ( NODE_NUMBER == 1 )
     44#define CONFIGURE_MAXIMUM_TASKS               1
    4445#define CONFIGURE_MAXIMUM_SEMAPHORES          1
    4546#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
     47#else
     48#define CONFIGURE_MAXIMUM_TASKS               4
    4649#endif
    4750
  • c/src/tests/mptests/mp11/system.h

    r9a03459c r09b6a093  
    3232#define CONFIGURE_MP_MAXIMUM_PROXIES            0
    3333 
     34#define CONFIGURE_MAXIMUM_TASKS               1
    3435#if ( NODE_NUMBER == 1 )
    3536#define CONFIGURE_MAXIMUM_SEMAPHORES          1
  • c/src/tests/mptests/mp12/system.h

    r9a03459c r09b6a093  
    3434#define CONFIGURE_MP_MAXIMUM_PROXIES            0
    3535 
     36#define CONFIGURE_MAXIMUM_TASKS               1
    3637#if ( NODE_NUMBER == 1 )
    3738#define CONFIGURE_MAXIMUM_PARTITIONS          1
  • c/src/tests/mptests/mp13/system.h

    r9a03459c r09b6a093  
    3737#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3838
     39#define CONFIGURE_MAXIMUM_TASKS               2
    3940#if ( NODE_NUMBER == 1 )
    4041#define CONFIGURE_MAXIMUM_SEMAPHORES          1
  • c/src/tests/mptests/mp14/system.h

    r9a03459c r09b6a093  
    5959#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(1)
    6060
     61#define CONFIGURE_MAXIMUM_TASKS               5
    6162#if ( NODE_NUMBER == 1 )
    6263#define CONFIGURE_MAXIMUM_TIMERS              12
  • c/src/tests/psxtests/psx01/system.h

    r9a03459c r09b6a093  
    3434#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3535
     36#define CONFIGURE_MAXIMUM_POSIX_THREADS     2
     37
    3638#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    37 
    38 #define CONFIGURE_MAXIMUM_POSIX_THREADS     2
    3939
    4040#include <confdefs.h>
  • c/src/tests/psxtests/psx02/system.h

    r9a03459c r09b6a093  
    3232#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3333
     34#define CONFIGURE_MAXIMUM_POSIX_THREADS     2
     35
    3436#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    3537
  • c/src/tests/psxtests/psx03/system.h

    r9a03459c r09b6a093  
    3535#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3636
     37#define CONFIGURE_MAXIMUM_POSIX_THREADS     3
     38
    3739#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    3840
  • c/src/tests/psxtests/psx04/system.h

    r9a03459c r09b6a093  
    3939#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4040
     41#define CONFIGURE_MAXIMUM_POSIX_THREADS        4
    4142#define CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS 5
    4243
  • c/src/tests/psxtests/psx05/system.h

    r9a03459c r09b6a093  
    3939#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4040
     41#define CONFIGURE_MAXIMUM_POSIX_THREADS  4
     42#define CONFIGURE_MAXIMUM_POSIX_MUTEXES  2
     43
    4144#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    42 
    43 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES  2
    4445
    4546#include <confdefs.h>
  • c/src/tests/psxtests/psx06/system.h

    r9a03459c r09b6a093  
    3535#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3636
     37#define CONFIGURE_MAXIMUM_POSIX_THREADS  3
     38#define CONFIGURE_MAXIMUM_POSIX_KEYS     1
     39
    3740#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    38 
    39 #define CONFIGURE_MAXIMUM_POSIX_KEYS     1
    4041
    4142#include <confdefs.h>
  • c/src/tests/psxtests/psx07/system.h

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
     33#define CONFIGURE_MAXIMUM_POSIX_THREADS     3
     34
    3335#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    3436
  • c/src/tests/psxtests/psx08/system.h

    r9a03459c r09b6a093  
    3939#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4040
     41#define CONFIGURE_MAXIMUM_POSIX_THREADS     4
     42
    4143#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    4244
  • c/src/tests/psxtests/psx09/system.h

    r9a03459c r09b6a093  
    3535#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3636
    37 #define CONFIGURE_POSIX_INIT_THREAD_TABLE
    38 
     37#define CONFIGURE_MAXIMUM_POSIX_THREADS   1
    3938#define CONFIGURE_MAXIMUM_POSIX_KEYS     10
    4039#define CONFIGURE_MAXIMUM_POSIX_MUTEXES  10
     40
     41#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    4142
    4243#include <confdefs.h>
  • c/src/tests/psxtests/psx10/system.h

    r9a03459c r09b6a093  
    4141#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4242
     43#define CONFIGURE_MAXIMUM_POSIX_THREADS              4
     44#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES  1
     45#define CONFIGURE_MAXIMUM_POSIX_MUTEXES              2
     46
    4347#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    44 
    45 #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES  1
    46 
    47 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES  2
    4848
    4949#include <confdefs.h>
  • c/src/tests/psxtests/psx11/system.h

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
     33#define CONFIGURE_MAXIMUM_POSIX_THREADS     4
     34
    3335#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    3436
  • c/src/tests/psxtests/psx12/system.h

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
    33 #define CONFIGURE_POSIX_INIT_THREAD_TABLE
    34 
     33#define CONFIGURE_MAXIMUM_POSIX_THREADS   2
    3534#define CONFIGURE_MAXIMUM_POSIX_KEYS     10
    3635#define CONFIGURE_MAXIMUM_POSIX_MUTEXES  10
     36
     37#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    3738
    3839#include <confdefs.h>
  • c/src/tests/psxtests/psx13/main.c

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
     33#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     34#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6
     35
     36#define CONFIGURE_MAXIMUM_TASKS 1
     37
    3338#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3439
  • c/src/tests/psxtests/psxcancel/system.h

    r9a03459c r09b6a093  
    3434#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3535
     36#define CONFIGURE_MAXIMUM_POSIX_THREADS     2
     37
    3638#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    37 
    38 #define CONFIGURE_MAXIMUM_POSIX_THREADS     2
    3939
    4040#include <confdefs.h>
  • c/src/tests/psxtests/psxfile01/main.c

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
     33#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     34#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6
     35
     36#define CONFIGURE_MAXIMUM_TASKS 1
     37
    3338#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3439
  • c/src/tests/psxtests/psxmount/main.c

    r9a03459c r09b6a093  
    2323#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2424
     25#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     26#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10
     27
     28#define CONFIGURE_MAXIMUM_TASKS 1
     29
    2530#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    2631
  • c/src/tests/psxtests/psxmsgq01/system.h

    r9a03459c r09b6a093  
    3737#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    3838
    39 #define CONFIGURE_MAXIMUM_POSIX_THREADS          5
    40 #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES   10
    41 #define CONFIGURE_MAXIMUM_POSIX_TIMERS      4
    42 #define CONFIGURE_MAXIMUM_TIMERS            4
     39#define CONFIGURE_MAXIMUM_POSIX_THREADS         5
     40#define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 10
     41#define CONFIGURE_MAXIMUM_POSIX_TIMERS          4
     42#define CONFIGURE_MAXIMUM_TIMERS                4
    4343
    4444#define CONFIGURE_POSIX_INIT_THREAD_TABLE
  • c/src/tests/psxtests/psxreaddir/main.c

    r9a03459c r09b6a093  
    2121#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2222
     23#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     24#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10
     25
     26#define CONFIGURE_MAXIMUM_TASKS 1
     27
    2328#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    2429
  • c/src/tests/psxtests/psxsem01/system.h

    r9a03459c r09b6a093  
    3838#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    3939
    40 #define CONFIGURE_MAXIMUM_POSIX_THREADS     2
     40#define CONFIGURE_MAXIMUM_POSIX_THREADS      2
    4141#define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES  10
    4242
  • c/src/tests/psxtests/psxstat/main.c

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
     33#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     34#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10
     35
     36#define CONFIGURE_MAXIMUM_TASKS 1
     37
    3338#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3439#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
    35 
    3640
    3741#define CONFIGURE_INIT
  • c/src/tests/psxtests/psxtime/main.c

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
     33#define CONFIGURE_MAXIMUM_TASKS 1
     34
    3335#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3436
  • c/src/tests/psxtests/psxtimer/system.h

    r9a03459c r09b6a093  
    4242#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    4343
    44 #define CONFIGURE_MAXIMUM_POSIX_THREADS     4
    45 
    46 #define CONFIGURE_MAXIMUM_POSIX_TIMERS      4
    47 
    48 #define CONFIGURE_MAXIMUM_TIMERS            4
    49 
    50 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 2
    51 
     44#define CONFIGURE_MAXIMUM_POSIX_THREADS             4
     45#define CONFIGURE_MAXIMUM_POSIX_TIMERS              4
     46#define CONFIGURE_MAXIMUM_TIMERS                    4
     47#define CONFIGURE_MAXIMUM_POSIX_MUTEXES             2
    5248#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 2
    5349
  • c/src/tests/samples/base_mp/system.h

    r9a03459c r09b6a093  
    3535#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3636 
     37#define CONFIGURE_MAXIMUM_TASKS           2
     38
    3739#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3840
  • c/src/tests/samples/base_sp/system.h

    r9a03459c r09b6a093  
    3333#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3434
     35#define CONFIGURE_MAXIMUM_TASKS            2
    3536#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3637
  • c/src/tests/samples/cdtest/system.h

    r9a03459c r09b6a093  
    2929#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3030
     31#define CONFIGURE_MAXIMUM_TASKS           1
     32
    3133#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3234#define CONFIGURE_INIT_TASK_ENTRY_POINT   main_task
  • c/src/tests/samples/hello/system.h

    r9a03459c r09b6a093  
    2828#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2929
     30#define CONFIGURE_MAXIMUM_TASKS            1
     31
    3032#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3133
  • c/src/tests/samples/paranoia/system.h

    r9a03459c r09b6a093  
    2929#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3030
     31#define CONFIGURE_MAXIMUM_TASKS            1
     32
    3133#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3234#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
  • c/src/tests/samples/ticker/system.h

    r9a03459c r09b6a093  
    4242#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    4343#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     44
     45#define CONFIGURE_MAXIMUM_TASKS             4
    4446
    4547#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
  • c/src/tests/sptests/sp01/system.h

    r9a03459c r09b6a093  
    3434
    3535#define CONFIGURE_EXTRA_TASK_STACKS         (4 * RTEMS_MINIMUM_STACK_SIZE)
     36#define CONFIGURE_MAXIMUM_TASKS             4
    3637
    3738#include <confdefs.h>
  • c/src/tests/sptests/sp02/system.h

    r9a03459c r09b6a093  
    4444
    4545#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     46#define CONFIGURE_MAXIMUM_TASKS             4
    4647
    4748#include <confdefs.h>
  • c/src/tests/sptests/sp03/system.h

    r9a03459c r09b6a093  
    3838
    3939#define CONFIGURE_EXTRA_TASK_STACKS         (1 * RTEMS_MINIMUM_STACK_SIZE)
     40#define CONFIGURE_MAXIMUM_TASKS             3
     41
    4042
    4143#include <confdefs.h>
  • c/src/tests/sptests/sp04/system.h

    r9a03459c r09b6a093  
    5050
    5151#define CONFIGURE_EXTRA_TASK_STACKS         (3 * RTEMS_MINIMUM_STACK_SIZE)
     52#define CONFIGURE_MAXIMUM_TASKS             4
    5253
    5354#include <confdefs.h>
     
    6768 * Keep track of task switches
    6869 */
     70
    6971struct taskSwitchLog {
    7072  int               taskIndex;
    7173  rtems_time_of_day when;
    7274};
     75
    7376extern struct taskSwitchLog taskSwitchLog[];
    7477extern int taskSwitchLogIndex;
    7578volatile extern int testsFinished;
    7679
     80
    7781/* end of include file */
  • c/src/tests/sptests/sp04/tswitch.c

    r9a03459c r09b6a093  
    2525struct taskSwitchLog taskSwitchLog[1000];
    2626int taskSwitchLogIndex;
    27 volatile int testsFinished;;
     27volatile int testsFinished;
    2828
    2929rtems_extension Task_switch(
  • c/src/tests/sptests/sp05/system.h

    r9a03459c r09b6a093  
    4242
    4343#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44#define CONFIGURE_MAXIMUM_TASKS             4
    4445
    4546#include <confdefs.h>
  • c/src/tests/sptests/sp06/system.h

    r9a03459c r09b6a093  
    4242
    4343#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44#define CONFIGURE_MAXIMUM_TASKS             4
    4445
    4546#include <confdefs.h>
  • c/src/tests/sptests/sp07/system.h

    r9a03459c r09b6a093  
    7373
    7474#define CONFIGURE_EXTRA_TASK_STACKS         (4 * RTEMS_MINIMUM_STACK_SIZE)
     75#define CONFIGURE_MAXIMUM_TASKS             5
    7576
    7677#include <confdefs.h>
  • c/src/tests/sptests/sp08/system.h

    r9a03459c r09b6a093  
    3939
    4040#define CONFIGURE_EXTRA_TASK_STACKS         (1 * RTEMS_MINIMUM_STACK_SIZE)
     41#define CONFIGURE_MAXIMUM_TASKS             2
    4142
    4243#include <confdefs.h>
  • c/src/tests/sptests/sp09/system.h

    r9a03459c r09b6a093  
    8484#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    8585
     86#define CONFIGURE_MAXIMUM_TASKS              10
    8687#define CONFIGURE_MAXIMUM_TIMERS              1
    8788#define CONFIGURE_MAXIMUM_SEMAPHORES          2
  • c/src/tests/sptests/sp11/system.h

    r9a03459c r09b6a093  
    7070#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    7171
     72#define CONFIGURE_MAXIMUM_TASKS               3
    7273#define CONFIGURE_MAXIMUM_TIMERS              6
    7374#define CONFIGURE_TICKS_PER_TIMESLICE       100
  • c/src/tests/sptests/sp12/system.h

    r9a03459c r09b6a093  
    5656
    5757#define CONFIGURE_INIT_TASK_STACK_SIZE      (RTEMS_MINIMUM_STACK_SIZE * 2)
     58#define CONFIGURE_MAXIMUM_TASKS               8
    5859#define CONFIGURE_MAXIMUM_SEMAPHORES         10
    5960#define CONFIGURE_TICKS_PER_TIMESLICE       100
  • c/src/tests/sptests/sp13/system.h

    r9a03459c r09b6a093  
    4848#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4949
     50#define CONFIGURE_MAXIMUM_TASKS               4
    5051#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     10
    5152#define CONFIGURE_TICKS_PER_TIMESLICE       100
  • c/src/tests/sptests/sp14/system.h

    r9a03459c r09b6a093  
    4444#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4545
     46#define CONFIGURE_MAXIMUM_TASKS               3
    4647#define CONFIGURE_MAXIMUM_TIMERS              1
    4748#define CONFIGURE_TICKS_PER_TIMESLICE       100
  • c/src/tests/sptests/sp15/system.h

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
     33#define CONFIGURE_MAXIMUM_TASKS               2
    3334#define CONFIGURE_MAXIMUM_PARTITIONS          2
    3435#define CONFIGURE_TICKS_PER_TIMESLICE       100
  • c/src/tests/sptests/sp16/system.h

    r9a03459c r09b6a093  
    4747#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4848
     49#define CONFIGURE_MAXIMUM_TASKS               4
    4950#define CONFIGURE_MAXIMUM_REGIONS             4
    5051#define CONFIGURE_TICKS_PER_TIMESLICE       100
  • c/src/tests/sptests/sp17/system.h

    r9a03459c r09b6a093  
    3939#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4040
     41#define CONFIGURE_MAXIMUM_TASKS           3
    4142#define CONFIGURE_MICROSECONDS_PER_TICK   RTEMS_MILLISECONDS_TO_MICROSECONDS(25)
    4243#define CONFIGURE_TICKS_PER_TIMESLICE     1000
  • c/src/tests/sptests/sp19/system.h

    r9a03459c r09b6a093  
    4141#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4242
     43#define CONFIGURE_MAXIMUM_TASKS             7
     44
    4345#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4446
  • c/src/tests/sptests/sp20/system.h

    r9a03459c r09b6a093  
    3939#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    4040
     41#define CONFIGURE_MAXIMUM_TASKS               6
     42#define CONFIGURE_MAXIMUM_PERIODS             10
     43
    4144#define CONFIGURE_INIT_TASK_PRIORITY          10
    4245#define CONFIGURE_INIT_TASK_INITIAL_MODES     RTEMS_DEFAULT_MODES
    43 #define CONFIGURE_MAXIMUM_PERIODS             10
    44 
    4546#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4647
  • c/src/tests/sptests/sp21/system.h

    r9a03459c r09b6a093  
    3232#define CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER
    3333
     34#define CONFIGURE_MAXIMUM_TASKS             2
     35
    3436#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3537
  • c/src/tests/sptests/sp22/system.h

    r9a03459c r09b6a093  
    3838#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3939
     40#define CONFIGURE_MAXIMUM_TASKS           2
    4041#define CONFIGURE_MAXIMUM_TIMERS          2
    4142#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
  • c/src/tests/sptests/sp23/system.h

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
    33 #define CONFIGURE_MAXIMUM_PORTS               1
     33#define CONFIGURE_MAXIMUM_TASKS           2
     34#define CONFIGURE_MAXIMUM_PORTS           1
    3435#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
    3536
  • c/src/tests/sptests/sp24/system.h

    r9a03459c r09b6a093  
    3636#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3737
     38#define CONFIGURE_MAXIMUM_TASKS               4
    3839#define CONFIGURE_MAXIMUM_TIMERS              3
    3940
  • c/src/tests/sptests/sp25/system.h

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3232
     33#define CONFIGURE_MAXIMUM_TASKS               2
    3334#define CONFIGURE_MAXIMUM_REGIONS             1
    3435
  • c/src/tests/sptests/sp26/system.h

    r9a03459c r09b6a093  
    2929#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3030
     31#define CONFIGURE_MAXIMUM_TASKS               5
    3132#define CONFIGURE_MAXIMUM_REGIONS             1
    3233
     
    3940TEST_EXTERN rtems_id   Task_id[ 6 ];      /* array of task ids */
    4041TEST_EXTERN rtems_name Task_name[ 6 ];    /* array of task names */
    41 TEST_EXTERN rtems_id   Region_id[ 2 ];    /* array of region ids */
    42 TEST_EXTERN rtems_name Region_name[ 2 ];  /* array of region names */
    43  
    44 TEST_EXTERN rtems_unsigned8 Area_1[64000]  CPU_STRUCTURE_ALIGNMENT;
    4542 
    4643#define BASE_PRIORITY 140
    4744 
    48 #define Put_address_from_area_1( _to_be_printed ) \
    49    printf( "0x%08lx", \
    50      (unsigned long) ((rtems_unsigned8 *)(_to_be_printed) - Area_1 ) )
    51  
    5245/* end of include file */
  • c/src/tests/sptests/sp27/init.c

    r9a03459c r09b6a093  
    1313#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    1414#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     15
     16#define CONFIGURE_MAXIMUM_TASKS               6
    1517
    1618#define CONFIGURE_MICROSECONDS_PER_TICK       52429
  • c/src/tests/sptests/sp28/init.c

    r9a03459c r09b6a093  
    1212#define CONFIGURE_MAXIMUM_USER_EXTENSIONS    2
    1313
     14#define CONFIGURE_MAXIMUM_TASKS              4
    1415#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    1516#define CONFIGURE_MICROSECONDS_PER_TICK       52429
  • c/src/tests/sptests/sp29/init.c

    r9a03459c r09b6a093  
    1313#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    1414#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
     15#define CONFIGURE_MAXIMUM_TASKS             2
    1516
    1617#define CONFIGURE_INIT
  • c/src/tests/sptests/spsize/system.h

    r9a03459c r09b6a093  
    3333#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
    3434
     35#define CONFIGURE_MAXIMUM_TASKS 1
    3536#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3637
  • c/src/tests/tmitrontests/tmitronsem01/system.h

    r9a03459c r09b6a093  
    2727#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
    2828
     29#define CONFIGURE_MAXIMUM_ITRON_TASKS         1
     30#define CONFIGURE_MAXIMUM_ITRON_SEMAPHORES  100
    2931#define CONFIGURE_ITRON_INIT_TASK_TABLE
    30 #define CONFIGURE_MAXIMUM_ITRON_SEMAPHORES  100
    3132
    3233#include <confdefs.h>
  • c/src/tests/tmtests/tm09/system.h

    r9a03459c r09b6a093  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
     32#define CONFIGURE_MAXIMUM_TASKS              2
    3233#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES     1
    3334#define CONFIGURE_TICKS_PER_TIMESLICE        0
  • c/src/tests/tmtests/tm20/system.h

    r9a03459c r09b6a093  
    3131#define CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER
    3232
     33#define CONFIGURE_MAXIMUM_TASKS              3
    3334#define CONFIGURE_MAXIMUM_PARTITIONS         1
    3435#define CONFIGURE_MAXIMUM_REGIONS            1
  • c/src/tests/tmtests/tm27/system.h

    r9a03459c r09b6a093  
    3030#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
    3131
    32 #define CONFIGURE_MAXIMUM_TASKS              111
     32#define CONFIGURE_MAXIMUM_TASKS              10
    3333#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3434 
Note: See TracChangeset for help on using the changeset viewer.