Changeset d34d8692 in rtems


Ignore:
Timestamp:
Dec 4, 2007, 10:22:26 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
c93b6ec
Parents:
7321ff0
Message:

2007-12-04 Joel Sherrill <joel.sherrill@…>

  • include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field from CPU Table to Configuration Table. Eliminate CPU Table from all ports. Delete references to CPU Table in all forms.
Location:
c/src/lib/libbsp
Files:
111 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/csb336/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/arm/csb336/include/bsp.h

    r7321ff0 rd34d8692  
    2727#include <rtems/clockdrv.h>
    2828#include <mc9328mxl.h>
    29  
    3029
    3130/* What is the input clock freq in hertz? */
     
    3534/* How many serial ports? */
    3635#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    37 
    38 /* How big should the interrupt stack be? */
    39 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
    4036
    4137extern rtems_configuration_table BSP_Configuration;
  • c/src/lib/libbsp/arm/csb336/startup/bspstart.c

    r7321ff0 rd34d8692  
    3030rtems_configuration_table  BSP_Configuration;
    3131
    32 rtems_cpu_table Cpu_table;
    3332char            *rtems_progname = "RTEMS";
    3433
  • c/src/lib/libbsp/arm/csb337/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/arm/csb337/include/bsp.h

    r7321ff0 rd34d8692  
    4141#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
    4242
    43 /* How big should the interrupt stack be? */
    44 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
    45 
    4643extern rtems_configuration_table BSP_Configuration;
    4744
  • c/src/lib/libbsp/arm/csb337/startup/bspstart.c

    r7321ff0 rd34d8692  
    3131
    3232rtems_configuration_table  BSP_Configuration; 
    33 rtems_cpu_table Cpu_table;
    3433char            *rtems_progname = "RTEMS";
    3534
  • c/src/lib/libbsp/arm/edb7312/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/arm/edb7312/include/bsp.h

    r7321ff0 rd34d8692  
    3737
    3838#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    39 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
    4039
    4140extern rtems_configuration_table BSP_Configuration;
  • c/src/lib/libbsp/arm/edb7312/startup/bspstart.c

    r7321ff0 rd34d8692  
    4545       rtems_configuration_table  BSP_Configuration;
    4646
    47 rtems_cpu_table Cpu_table;                    /* CPU configuration table.    */
    4847char            *rtems_progname;              /* Program name - from main(). */
    4948
  • c/src/lib/libbsp/arm/gp32/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/arm/gp32/include/bsp.h

    r7321ff0 rd34d8692  
    6262#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
    6363
    64 /* How big should the interrupt stack be? */
    65 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
    66 
    6764/*
    6865 *  This BSP provides its own IDLE task to override the RTEMS one.
  • c/src/lib/libbsp/arm/gp32/startup/bspstart.c

    r7321ff0 rd34d8692  
    3838       rtems_configuration_table  BSP_Configuration;
    3939
    40 rtems_cpu_table Cpu_table;                     /* CPU configuration table.    */
    4140char            *rtems_progname = "RTEMS";               /* Program name - from main(). */
    4241
  • c/src/lib/libbsp/arm/rtl22xx/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/arm/rtl22xx/include/bsp.h

    r7321ff0 rd34d8692  
    127127
    128128#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    129 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (1 * 1024)
    130129
    131130extern rtems_configuration_table BSP_Configuration;
  • c/src/lib/libbsp/arm/rtl22xx/startup/bspstart.c

    r7321ff0 rd34d8692  
    5050rtems_configuration_table  BSP_Configuration;
    5151
    52 rtems_cpu_table Cpu_table;                    /* CPU configuration table.    */
    5352char            *rtems_progname;              /* Program name - from main(). */
    5453
  • c/src/lib/libbsp/bfin/eZKit533/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/bfin/eZKit533/include/bsp.h

    r7321ff0 rd34d8692  
    8181
    8282/*
    83  *  confdefs.h overrides for this BSP:
    84  *   - number of termios serial ports (defaults to 1)
    85  *   - Interrupt stack space is not minimum if defined.
    86  */
    87 
    88 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    89 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    90 
    91 /*
    9283 *  Simple spin delay in microsecond units for device drivers.
    9384 *  This is very dependent on the clock speed of the target.
  • c/src/lib/libbsp/bfin/eZKit533/startup/bspstart.c

    r7321ff0 rd34d8692  
    3535rtems_configuration_table  BSP_Configuration;
    3636
    37 rtems_cpu_table Cpu_table;
    38 
    3937char *rtems_progname;
    4038
     
    160158  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    161159
    162   /*
    163    *  initialize the CPU table for this BSP
    164    */
    165 
    166   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    167 
    168160  int i=0;
    169161  for (i=5;i<16;i++) {
  • c/src/lib/libbsp/c4x/c4xsim/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/c4x/c4xsim/include/bsp.h

    r7321ff0 rd34d8692  
    6767extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    6868
    69 extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    70 
    7169extern uint32_t                  bsp_isr_level;
    7270
  • c/src/lib/libbsp/c4x/c4xsim/startup/bspstart.c

    r7321ff0 rd34d8692  
    2828extern rtems_configuration_table  Configuration;
    2929rtems_configuration_table         BSP_Configuration;
    30 
    31 rtems_cpu_table   Cpu_table;
    3230
    3331/*
     
    7472void bsp_start( void )
    7573{
    76   extern void *_WorkspaceBase;
    77   extern uint32_t         _WorkspaceMax;
    78 
    79   /*
    80    *  This should be enough interrupt stack.
    81    */
    82 
    83   Cpu_table.interrupt_stack_size = 0;
     74  extern void     *_WorkspaceBase;
     75  extern uint32_t _WorkspaceMax;
    8476
    8577  BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
  • c/src/lib/libbsp/i386/i386ex/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/i386/i386ex/include/bsp.h

    r7321ff0 rd34d8692  
    2828#include <libcpu/cpu.h>
    2929#include <bsp/irq.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  (8 * 1024)
    3930
    4031/*
  • c/src/lib/libbsp/i386/i386ex/startup/bspstart.c

    r7321ff0 rd34d8692  
    3535extern rtems_configuration_table  Configuration;
    3636rtems_configuration_table  BSP_Configuration;
    37 
    38 rtems_cpu_table Cpu_table;
    3937
    4038/*
     
    9694  void rtems_irq_mngt_init();
    9795
    98   /*
    99    *  we do not use the pretasking_hook.
    100    */
    101 
    102   /* changed Sept 14 STACK_MINIMUM_SIZE */
    103   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    104 
    10596  BSP_Configuration.work_space_start = (void *)
    10697     RAM_END - BSP_Configuration.work_space_size;
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/i386/pc386/include/bsp.h

    r7321ff0 rd34d8692  
    6262
    6363#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
    64 
    65 #if STACK_MINIMUM_SIZE < (4 * 1024)
    66 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    67 #else
    68 #define CONFIGURE_INTERRUPT_STACK_MEMORY STACK_MINIMUM_SIZE
    69 #endif
    7064
    7165/*
  • c/src/lib/libbsp/i386/pc386/startup/bspstart.c

    r7321ff0 rd34d8692  
    7777       rtems_configuration_table  BSP_Configuration;
    7878
    79 rtems_cpu_table Cpu_table;                     /* CPU configuration table.    */
    8079char            *rtems_progname;               /* Program name - from main(). */
    8180
     
    181180  rtemsFreeMemStart = (uint32_t)&_end + _stack_size;
    182181
    183   Cpu_table.interrupt_stack_size    = CONFIGURE_INTERRUPT_STACK_MEMORY;
    184 
    185182  /* Place RTEMS workspace at beginning of free memory. */
    186183
  • c/src/lib/libbsp/i386/ts_386ex/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/i386/ts_386ex/include/bsp.h

    r7321ff0 rd34d8692  
    2828#include <libcpu/cpu.h>
    2929#include <bsp/irq.h>
    30 
    31 /*
    32  *  confdefs.h overrides for this BSP:
    33  *   - 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  (8 * 1024)
    3930
    4031/*
  • c/src/lib/libbsp/i386/ts_386ex/startup/bspstart.c

    r7321ff0 rd34d8692  
    3434extern rtems_configuration_table  Configuration;
    3535rtems_configuration_table  BSP_Configuration;
    36 
    37 rtems_cpu_table Cpu_table;
    3836
    3937/*
     
    9492  void rtems_irq_mngt_init();
    9593
    96   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    97 
    9894  BSP_Configuration.work_space_start = (void *)
    9995     RAM_END - BSP_Configuration.work_space_size;
  • c/src/lib/libbsp/m68k/csb360/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/csb360/include/bsp.h

    r7321ff0 rd34d8692  
    126126
    127127#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    128 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    129128
    130129/* System frequency */
  • c/src/lib/libbsp/m68k/csb360/startup/bspstart.c

    r7321ff0 rd34d8692  
    4141rtems_configuration_table  BSP_Configuration;
    4242
    43 rtems_cpu_table Cpu_table;
    44 
    4543extern unsigned int _RamSize;
    46 
    47 
    4844char *rtems_progname;
    4945
     
    5147 *  Use the shared implementations of the following routines
    5248 */
    53  
    5449void bsp_postdriver_hook(void);
    5550void bsp_libc_init( void *, uint32_t, int );
     
    6560    _M68k_Ramsize = (unsigned long)&_RamSize;   /* size set in linker script */
    6661
    67 
    6862    /*
    6963     *  Need to "allocate" the memory for the RTEMS Workspace and
     
    7367
    7468    BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
    75 
    76     /*
    77      *  initialize the CPU table for this BSP
    78      */
    79     Cpu_table.interrupt_stack_size = 4096;
    8069}
  • c/src/lib/libbsp/m68k/gen68302/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/gen68302/include/bsp.h

    r7321ff0 rd34d8692  
    2828#include <rtems/iosupp.h>
    2929#include <rtems/clockdrv.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)
    3930
    4031/*
  • c/src/lib/libbsp/m68k/gen68302/startup/bspstart.c

    r7321ff0 rd34d8692  
    2828extern rtems_configuration_table Configuration;
    2929rtems_configuration_table  BSP_Configuration;
    30 
    31 rtems_cpu_table Cpu_table;
    3230
    3331char *rtems_progname;
     
    7270
    7371  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    74 
    75   /*
    76    *  initialize the CPU table for this BSP
    77    */
    78 
    79   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    8072}
  • c/src/lib/libbsp/m68k/gen68340/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/gen68340/include/bsp.h

    r7321ff0 rd34d8692  
    3131#include <rtems/iosupp.h>
    3232#include <rtems/clockdrv.h>
    33 
    34 /*
    35  *  confdefs.h overrides for this BSP:
    36  *   - 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)
    4233
    4334/*
  • c/src/lib/libbsp/m68k/gen68340/startup/bspstart.c

    r7321ff0 rd34d8692  
    3333extern rtems_configuration_table Configuration;
    3434rtems_configuration_table  BSP_Configuration;
    35 
    36 rtems_cpu_table Cpu_table;
    3735
    3836char *rtems_progname;
     
    7573
    7674  BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
    77 
    78   /*
    79    *  initialize the CPU table for this BSP
    80    */
    81   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    8275}
  • c/src/lib/libbsp/m68k/gen68360/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/gen68360/include/bsp.h

    r7321ff0 rd34d8692  
    3737#include <rtems/iosupp.h>
    3838#include <rtems/clockdrv.h>
    39 
    40 /*
    41  *  confdefs.h overrides for this BSP:
    42  *   - termios serial ports (defaults to 1)
    43  *   - Interrupt stack space is not minimum if defined.
    44  */
    45 
    46 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    47 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    4839
    4940/*
  • c/src/lib/libbsp/m68k/gen68360/startup/bspstart.c

    r7321ff0 rd34d8692  
    2828extern rtems_configuration_table Configuration;
    2929rtems_configuration_table  BSP_Configuration;
    30 rtems_cpu_table Cpu_table;
    31 
    3230char *rtems_progname;
    3331
  • c/src/lib/libbsp/m68k/idp/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/idp/include/bsp.h

    r7321ff0 rd34d8692  
    1616#include <rtems/motorola/mc68230.h>
    1717#include <rtems/motorola/mc68681.h>
    18 
    19 /*
    20  *  confdefs.h overrides for this BSP:
    21  *   - number of termios serial ports (defaults to 1)
    22  *   - Interrupt stack space is not minimum if defined.
    23  */
    24 
    25 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    26 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    2718
    2819#define DUART_ADDR      0xb00003   /* base address of the MC68681 DUART */
  • c/src/lib/libbsp/m68k/idp/startup/bspstart.c

    r7321ff0 rd34d8692  
    3535extern rtems_configuration_table  Configuration;
    3636rtems_configuration_table         BSP_Configuration;
    37 
    38 rtems_cpu_table Cpu_table;
    3937
    4038char *rtems_progname;
     
    9290  rtems_cache_enable_data();
    9391
    94   /*
    95    *  we only use a hook to get the C library initialized.
    96    */
    97 
    98   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    99 
    10092  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    10193
  • c/src/lib/libbsp/m68k/mcf5206elite/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h

    r7321ff0 rd34d8692  
    146146
    147147#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    148 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    149148
    150149/* System frequency */
  • c/src/lib/libbsp/m68k/mcf5206elite/startup/bspstart.c

    r7321ff0 rd34d8692  
    4141rtems_configuration_table  BSP_Configuration;
    4242
    43 rtems_cpu_table Cpu_table;
    44 
    4543unsigned long _RamSize;
    4644
     
    6967
    7068  BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
    71 
    72   /*
    73    *  initialize the CPU table for this BSP
    74    */
    75   Cpu_table.interrupt_stack_size = 4096;
    7669}
  • c/src/lib/libbsp/m68k/mrm332/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/mrm332/include/bsp.h

    r7321ff0 rd34d8692  
    3939#define CONSOLE_SCI
    4040/* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    41 /* #define CONFIGURE_INTERRUPT_STACK_MEMORY  (TBD * 1024) */
    4241
    4342/*
  • c/src/lib/libbsp/m68k/mrm332/startup/bspstart.c

    r7321ff0 rd34d8692  
    2727extern rtems_configuration_table  Configuration;
    2828rtems_configuration_table         BSP_Configuration;
    29 
    30 rtems_cpu_table Cpu_table;
    31 
    3229char *rtems_progname;
    3330
  • c/src/lib/libbsp/m68k/mvme136/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/mvme136/include/bsp.h

    r7321ff0 rd34d8692  
    2626#include <rtems/console.h>
    2727#include <rtems/iosupp.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)
    3728
    3829/*
  • c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c

    r7321ff0 rd34d8692  
    2929extern rtems_configuration_table  Configuration;
    3030rtems_configuration_table         BSP_Configuration;
    31 
    32 rtems_cpu_table Cpu_table;
    33 
    3431char *rtems_progname;
    3532
     
    7572  rtems_cache_enable_instruction();
    7673
    77   /*
    78    *  we only use a hook to get the C library initialized.
    79    */
    80 
    81   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    82 
    8374  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    8475}
  • c/src/lib/libbsp/m68k/mvme147/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/mvme147/include/bsp.h

    r7321ff0 rd34d8692  
    3030#include <rtems/console.h>
    3131#include <rtems/iosupp.h>
    32 
    33 /*
    34  *  confdefs.h overrides for this BSP:
    35  *   - number of termios serial ports (defaults to 1)
    36  *   - Interrupt stack space is not minimum if defined.
    37  */
    38 
    39 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    40 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    4132
    4233/* Constants */
  • c/src/lib/libbsp/m68k/mvme147/startup/bspstart.c

    r7321ff0 rd34d8692  
    3232extern rtems_configuration_table  Configuration;
    3333rtems_configuration_table         BSP_Configuration;
    34 
    35 rtems_cpu_table Cpu_table;
    36 
    3734char *rtems_progname;
    3835
     
    8380  rtems_cache_enable_data();
    8481
    85   /*
    86    *  we only use a hook to get the C library initialized.
    87    */
    88 
    89   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    90 
    9182  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    9283}
  • c/src/lib/libbsp/m68k/mvme147s/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/mvme147s/include/bsp.h

    r7321ff0 rd34d8692  
    3030#include <rtems/console.h>
    3131#include <rtems/iosupp.h>
    32 
    33 /*
    34  *  confdefs.h overrides for this BSP:
    35  *   - number of termios serial ports (defaults to 1)
    36  *   - Interrupt stack space is not minimum if defined.
    37  */
    38 
    39 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    40 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    4132
    4233/* Constants */
  • c/src/lib/libbsp/m68k/mvme147s/startup/bspstart.c

    r7321ff0 rd34d8692  
    3232extern rtems_configuration_table  Configuration;
    3333rtems_configuration_table         BSP_Configuration;
    34 
    35 rtems_cpu_table Cpu_table;
    36 
    3734char *rtems_progname;
    3835
     
    9491  }
    9592
    96   node_number =
    97     (uint8_t)
     93#if defined(RTEMS_MULTIPROCESSING)
     94  node_number = (uint8_t)
    9895    (Configuration.User_multiprocessing_table->node - 1) & 0xF;
     96#else
     97   node_number = 1;
     98#endif
    9999  /* Get and store node ID, first node_number = 0 */
    100100  vme_gcsr->board_identification = node_number;
     
    141141  rtems_cache_enable_data();
    142142
    143   /*
    144    *  we only use a hook to get the C library initialized.
    145    */
    146 
    147   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    148 
    149143  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    150144}
  • c/src/lib/libbsp/m68k/mvme162/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/mvme162/include/bsp.h

    r7321ff0 rd34d8692  
    3333#include <rtems/console.h>
    3434#include <rtems/iosupp.h>
    35 
    36 /*
    37  *  confdefs.h overrides for this BSP:
    38  *   - number of 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  (4 * 1024)
    4435
    4536#include <mvme16x_hw.h>
  • c/src/lib/libbsp/m68k/mvme162/startup/bspstart.c

    r7321ff0 rd34d8692  
    3636extern rtems_configuration_table  Configuration;
    3737rtems_configuration_table  BSP_Configuration;
    38 
    39 rtems_cpu_table Cpu_table;
    40 
    4138char *rtems_progname;
    4239
     
    9996  page_table_init();
    10097
    101   /*
    102    *  we only use a hook to get the C library initialized.
    103    */
    104 
    105   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    106 
    10798  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    10899}
  • c/src/lib/libbsp/m68k/mvme167/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/mvme167/include/bsp.h

    r7321ff0 rd34d8692  
    4141
    4242#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 4
    43 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    4443
    4544#include <mvme16x_hw.h>
  • c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c

    r7321ff0 rd34d8692  
    3636rtems_configuration_table BSP_Configuration;
    3737rtems_extensions_table user_extension_table;
    38 
    39 rtems_cpu_table Cpu_table;
    40 
    4138/*
    4239 *  Use the shared implementations of the following routines.
     
    126123  page_table_init( &Configuration );
    127124
    128   /* Must match value in start.s */
    129   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    130 
    131125  /*
    132126   *  If the application has not overriden the default User_extension_table,
  • c/src/lib/libbsp/m68k/ods68302/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/m68k/ods68302/include/bsp.h

    r7321ff0 rd34d8692  
    2929#include <rtems/clockdrv.h>
    3030#include <rtems/m68k/m68302.h>
    31 
    32 /*
    33  *  confdefs.h overrides for this BSP:
    34  *   - number of 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)
    4031
    4132#ifndef VARIANT
  • c/src/lib/libbsp/m68k/ods68302/startup/bspstart.c

    r7321ff0 rd34d8692  
    2828extern rtems_configuration_table Configuration;
    2929rtems_configuration_table  BSP_Configuration;
    30 
    31 rtems_cpu_table Cpu_table;
    3230rtems_interrupt_level bsp_isr_level;
    33 
    3431char *rtems_progname;
    3532
     
    6360
    6461  BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
    65 
    66   /*
    67    *  initialize the CPU table for this BSP
    68    */
    69 
    70   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    7162}
  • c/src/lib/libbsp/mips/hurricane/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/mips/hurricane/include/bsp.h

    r7321ff0 rd34d8692  
    2929#include <rtems/clockdrv.h>
    3030#include <libcpu/rm5231.h>
    31 
    32 /*
    33  *  confdefs.h overrides for this BSP:
    34  *   - number of 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)
    4031
    4132extern void WriteDisplay( char * string );
  • c/src/lib/libbsp/mips/hurricane/startup/bspstart.c

    r7321ff0 rd34d8692  
    2929
    3030extern rtems_configuration_table Configuration;
    31 
    3231rtems_configuration_table  BSP_Configuration;
    33 
    34 rtems_cpu_table Cpu_table;
    35 
    3632char *rtems_progname;
    3733
     
    104100       (void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x2000) & ~0x7);
    105101
    106   /*
    107    *  initialize the CPU table for this BSP
    108    */
    109 
    110   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    111102  bsp_clicks_per_microsecond = CPU_CLOCK_RATE_MHZ;
    112103
  • c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h

    r7321ff0 rd34d8692  
    2727#include <rtems/console.h>
    2828#include <rtems/clockdrv.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)
    3829
    3930/*
  • c/src/lib/libbsp/no_cpu/no_bsp/startup/bspstart.c

    r7321ff0 rd34d8692  
    2727
    2828extern rtems_configuration_table Configuration;
    29 
    3029rtems_configuration_table  BSP_Configuration;
    31 
    32 rtems_cpu_table Cpu_table;
    33 
    3430char *rtems_progname;
    3531
     
    9490
    9591  BSP_Configuration.work_space_start = (void *) 0;
    96 
    97   /*
    98    *  initialize the CPU table for this BSP
    99    */
    100 
    101   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    10292}
  • c/src/lib/libbsp/powerpc/gen405/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/powerpc/gen405/include/bsp.h

    r7321ff0 rd34d8692  
    5050#include <bspopts.h>
    5151
    52 /*
    53  *  confdefs.h overrides for this BSP:
    54  *   - number of termios serial ports (defaults to 1)
    55  *   - Interrupt stack space is not minimum if defined.
    56  */
    57 
    58 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    59 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
    60 
    6152#ifdef ASM
    6253/* Definition of where to store registers in alignment handler */
     
    7869
    7970extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    80 extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    8171
    8272/*
  • c/src/lib/libbsp/powerpc/gen405/startup/bspstart.c

    r7321ff0 rd34d8692  
    7171
    7272extern rtems_configuration_table Configuration;
    73 
    7473rtems_configuration_table  BSP_Configuration;
    75 
    76 rtems_cpu_table Cpu_table;
    77 
    7874char *rtems_progname;
    7975void *bsp_ram_end = (void *)RAM_END;  /* first addr behind avail. ram area */
     
    184180
    185181  /*
    186    *  initialize the CPU table for this BSP
     182   *  initialize the device driver parameters
    187183   */
    188 
    189   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    190 
    191184  bsp_clicks_per_usec = 300;
    192185  bsp_serial_per_sec = 14625000;
  • c/src/lib/libbsp/powerpc/helas403/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/powerpc/helas403/include/bsp.h

    r7321ff0 rd34d8692  
    4747#include <bspopts.h>
    4848
    49 /*
    50  *  confdefs.h overrides for this BSP:
    51  *   - number of termios serial ports (defaults to 1)
    52  *   - Interrupt stack space is not minimum if defined.
    53  */
    54 
    55 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    56 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
    57 
    5849#ifdef ASM
    5950/* Definition of where to store registers in alignment handler */
     
    7566
    7667extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    77 extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    7868
    7969/*
  • c/src/lib/libbsp/powerpc/helas403/startup/bspstart.c

    r7321ff0 rd34d8692  
    6969
    7070extern rtems_configuration_table Configuration;
    71 
    7271rtems_configuration_table  BSP_Configuration;
    73 
    74 rtems_cpu_table Cpu_table;
    75 
    7672char *rtems_progname;
    7773void *bsp_ram_end = (void *)RAM_END;  /* first addr behind avail. ram area */
     
    174170
    175171  /*
    176    *  initialize the CPU table for this BSP
     172   *  initialize the device driver parameters
    177173   */
    178 
    179   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    180 
    181174  bsp_clicks_per_usec = 25;
    182175  bsp_serial_per_sec = 25000000;
  • c/src/lib/libbsp/powerpc/mvme5500/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/powerpc/mvme5500/include/bsp.h

    r7321ff0 rd34d8692  
    7070
    7171#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
    72 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
    7372
    7473/* uart.c uses out_8 instead of outb  */
  • c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c

    r7321ff0 rd34d8692  
    128128
    129129/*
    130  * system init stack and soft ir stack size
     130 * system init stack
    131131 */
    132132#define INIT_STACK_SIZE 0x1000
    133 #define INTR_STACK_SIZE CONFIGURE_INTERRUPT_STACK_MEMORY
    134133
    135134void BSP_panic(char *s)
     
    151150
    152151extern rtems_configuration_table Configuration;
    153 
    154152rtems_configuration_table  BSP_Configuration;
    155 
    156 rtems_cpu_table Cpu_table;
    157 
    158153char *rtems_progname;
    159154
     
    328323   * some settings below...
    329324   */
    330   BSP_heap_start = ((uint32_t) __rtems_end) + INIT_STACK_SIZE + INTR_STACK_SIZE;
     325  BSP_heap_start = ((uint32_t) __rtems_end) + INIT_STACK_SIZE +
     326    rtems_configuration_get_interrupt_stack_size();
    331327  intrStack = BSP_heap_start - PPC_MINIMUM_STACK_FRAME_SIZE;
    332328
     
    403399  printk("Now BSP_mem_size = 0x%x\n",BSP_mem_size);
    404400
    405   /*
    406    * Set up our hooks
    407    * Make sure libc_init is done before drivers initialized so that
    408    * they can use atexit()
    409    */
    410 
    411   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    412401  /* P94 : 7455 TB/DECR is clocked by the system bus clock frequency */
    413402
     
    422411    (unsigned char *)BSP_mem_size - BSP_Configuration.work_space_size;
    423412
    424   if ( work_space_start <=
    425        ((unsigned char *)__rtems_end) + INIT_STACK_SIZE + INTR_STACK_SIZE) {
     413  if ( work_space_start <= ((unsigned char *)__rtems_end) + INIT_STACK_SIZE +
     414        rtems_configuration_get_interrupt_stack_size()) {
    426415    printk( "bspstart: Not enough RAM!!!\n" );
    427416    bsp_cleanup();
  • c/src/lib/libbsp/powerpc/psim/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • c/src/lib/libbsp/powerpc/psim/include/bsp.h

    r7321ff0 rd34d8692  
    3838
    3939#include <bspopts.h>
    40 
    41 /*
    42  *  confdefs.h overrides for this BSP:
    43  *   - termios serial ports (defaults to 1)
    44  *   - Interrupt stack space is not minimum if defined.
    45  */
    46 
    47 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    48 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (12 * 1024)
    4940
    5041#ifdef ASM
     
    9283
    9384extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    94 extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    9585
    9686#endif /* ASM */
  • c/src/lib/libbsp/powerpc/psim/startup/bspstart.c

    r7321ff0 rd34d8692  
    5252extern rtems_configuration_table  Configuration;
    5353rtems_configuration_table         BSP_Configuration;
    54 rtems_cpu_table                   Cpu_table;
    5554
    5655/*
     
    8079
    8180/*
    82  * system init stack and soft irq stack size
     81 * system init stack
    8382 */
    8483#define INIT_STACK_SIZE 0x1000
    85 #define INTR_STACK_SIZE CONFIGURE_INTERRUPT_STACK_MEMORY
    8684
    8785void BSP_panic(char *s)
     
    143141
    144142  /*
    145    * Set up our hooks
    146    * Make sure libc_init is done before drivers initialized so that
    147    * they can use atexit()
    148    */
    149 
    150   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    151 
     143   *  initialize the device driver parameters
     144   */
    152145  BSP_bus_frequency        = (unsigned int)&PSIM_INSTRUCTIONS_PER_MICROSECOND;
    153146  BSP_time_base_divisor    = 1;
     
    183176   * some settings below...
    184177   */
    185   intrStack = ((uint32_t) __rtems_end) +
    186           INIT_STACK_SIZE + INTR_STACK_SIZE - PPC_MINIMUM_STACK_FRAME_SIZE;
     178  intrStack = ((uint32_t) __rtems_end) + INIT_STACK_SIZE +
     179    rtems_configuration_get_interrupt_stack_size() -
     180    PPC_MINIMUM_STACK_FRAME_SIZE;
    187181
    188182  /* make sure it's properly aligned */
  • c/src/lib/libbsp/powerpc/score603e/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/powerpc/score603e/include/bsp.h

    r7321ff0 rd34d8692  
    3838#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS (4)
    3939#endif
    40 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (12 * 1024)
    4140
    4241#ifdef ASM
     
    223222
    224223extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    225 extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    226224extern uint32_t                  bsp_isr_level;
    227225
  • c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c

    r7321ff0 rd34d8692  
    5050extern rtems_configuration_table  Configuration;
    5151rtems_configuration_table         BSP_Configuration;
    52 rtems_cpu_table                   Cpu_table;
    5352uint32_t                          bsp_isr_level;
    5453
     
    307306
    308307  /*
    309    *  initialize the CPU table for this BSP
    310    */
    311 
    312   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    313 
     308   *  initialize the device driver parameters
     309   */
    314310  bsp_clicks_per_usec = 66 / 4;  /* XXX get from linkcmds */
    315311
  • c/src/lib/libbsp/powerpc/virtex/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/powerpc/virtex/include/bsp.h

    r7321ff0 rd34d8692  
    5050#include <bspopts.h>
    5151
    52 /*
    53  *  confdefs.h overrides for this BSP:
    54  *   - number of termios serial ports (defaults to 1)
    55  *   - Interrupt stack space is not minimum if defined.
    56  */
    57 
    58 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    59 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (16 * 1024)
    60 
    6152#ifdef ASM
    6253/* Definition of where to store registers in alignment handler */
     
    8374
    8475extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    85 extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    8676
    8777
  • c/src/lib/libbsp/powerpc/virtex/startup/bspstart.c

    r7321ff0 rd34d8692  
    8080
    8181extern rtems_configuration_table Configuration;
    82 
    8382rtems_configuration_table  BSP_Configuration;
    84 
    85 rtems_cpu_table Cpu_table;
    8683
    8784char *rtems_progname;
     
    198195  myCpu             = get_ppc_cpu_type();
    199196  myCpuRevision = get_ppc_cpu_revision();
    200   /*
    201    *  initialize the CPU table for this BSP
    202    * NOTE: this must be before the exception initialization,
    203    * because exception code useses some information from Cpu_table
    204    */
    205 
    206   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
     197
     198  /*
     199   *  initialize the device driver parameters
     200   */
    207201
    208202  /* timebase register ticks/microsecond */
    209203  bsp_clicks_per_usec = (250000000 / 1000000);
    210 
    211204  bsp_serial_per_sec = 14625000;
    212205  bsp_serial_external_clock = 0;
  • c/src/lib/libbsp/sh/gensh1/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/sh/gensh1/include/bsp.h

    r7321ff0 rd34d8692  
    3535
    3636#include <bspopts.h>
    37 
    38 /*
    39  *  confdefs.h overrides for this BSP:
    40  *   - number of 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)
    4637
    4738/* EDIT: To activate the sci driver, change the define below */
  • c/src/lib/libbsp/sh/gensh1/startup/bspstart.c

    r7321ff0 rd34d8692  
    3939
    4040extern rtems_configuration_table Configuration;
    41 
    4241rtems_configuration_table  BSP_Configuration;
    43 
    44 rtems_cpu_table Cpu_table;
    45 
    4642char *rtems_progname;
    4743
     
    117113  _CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low ;
    118114  _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
    119 
    120   Cpu_table.interrupt_stack_size =
    121     (uint32_t) (&CPU_Interrupt_stack_high) -
    122     (uint32_t) (&CPU_Interrupt_stack_low) ;
    123 #endif
    124 
    125 #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
    126   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    127115#endif
    128116  bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
  • c/src/lib/libbsp/sh/gensh2/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/sh/gensh2/include/bsp.h

    r7321ff0 rd34d8692  
    4646
    4747#include <bspopts.h>
    48 
    49 /*
    50  *  confdefs.h overrides for this BSP:
    51  *   - number of termios serial ports (defaults to 1)
    52  *   - Interrupt stack space is not minimum if defined.
    53  */
    54 
    55 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    56 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    5748
    5849#if 0
  • c/src/lib/libbsp/sh/gensh2/startup/bspstart.c

    r7321ff0 rd34d8692  
    3939
    4040extern void bsp_hw_init(void);
    41 
    4241extern rtems_configuration_table Configuration;
    43 
    4442rtems_configuration_table  BSP_Configuration;
    45 
    46 rtems_cpu_table Cpu_table;
    47 
    4843char *rtems_progname;
    4944
     
    123118  _CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low ;
    124119  _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
    125 
    126   /* This isn't used anywhere */
    127   Cpu_table.interrupt_stack_size =
    128     &CPU_Interrupt_stack_high - &CPU_Interrupt_stack_low ;
    129120#endif
    130121
    131 #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
    132   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    133 #endif
    134 
     122  /*
     123   *  initialize the device driver parameters
     124   */
    135125  bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
    136126}
  • c/src/lib/libbsp/sh/gensh4/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/sh/gensh4/include/bsp.h

    r7321ff0 rd34d8692  
    5151
    5252#include "rtems/score/sh7750_regs.h"
    53 
    54 /*
    55  *  confdefs.h overrides for this BSP:
    56  *   - number of termios serial ports (defaults to 1)
    57  *   - Interrupt stack space is not minimum if defined.
    58  */
    59 
    60 /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */
    61 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    6253
    6354/* Constants */
  • c/src/lib/libbsp/sh/gensh4/startup/bspstart.c

    r7321ff0 rd34d8692  
    4040
    4141extern void bsp_hw_init(void);
    42 
    4342extern rtems_configuration_table Configuration;
    44 
    4543rtems_configuration_table  BSP_Configuration;
    46 
    47 rtems_cpu_table Cpu_table;
    48 
    4944char *rtems_progname;
    5045
     
    125120  _CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low ;
    126121  _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
    127 
    128   /* This isn't used anywhere */
    129   Cpu_table.interrupt_stack_size =
    130     (uint32_t) (&CPU_Interrupt_stack_high) -
    131     (uint32_t) (&CPU_Interrupt_stack_low) ;
    132122#endif
    133123
    134 #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
    135   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    136 #endif
    137 
     124  /*
     125   *  initialize the device driver parameters
     126   */
    138127  bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
    139128}
  • c/src/lib/libbsp/sh/shsim/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/sh/shsim/include/bsp.h

    r7321ff0 rd34d8692  
    3232#include <rtems/clockdrv.h>
    3333#include <rtems/console.h>
    34 
    35 /*
    36  *  confdefs.h overrides for this BSP:
    37  *   - number of termios serial ports (defaults to 1)
    38  *   - Interrupt stack space is not minimum if defined.
    39  */
    40 
    41 #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 0
    42 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    4334
    4435#include <bspopts.h>
  • c/src/lib/libbsp/sh/shsim/startup/bspstart.c

    r7321ff0 rd34d8692  
    3636
    3737extern rtems_configuration_table Configuration;
    38 
    3938rtems_configuration_table  BSP_Configuration;
    40 
    41 rtems_cpu_table Cpu_table;
    42 
    4339char *rtems_progname;
    4440
     
    114110  _CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low ;
    115111  _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
    116 
    117   Cpu_table.interrupt_stack_size =
    118     (uint32_t) (&CPU_Interrupt_stack_high) -
    119     (uint32_t) (&CPU_Interrupt_stack_low) ;
    120112#endif
    121113
    122 #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
    123   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    124 #endif
     114  /*
     115   *  initialize the device driver parameters
     116   */
    125117  bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
    126118}
  • c/src/lib/libbsp/sh/simsh4/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/sh/simsh4/include/bsp.h

    r7321ff0 rd34d8692  
    6060
    6161#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 1
    62 #define CONFIGURE_INTERRUPT_STACK_MEMORY  (4 * 1024)
    6362
    6463/* !!! Should be defined in accordance to simulator considerations.*/
     
    9089
    9190extern rtems_configuration_table BSP_Configuration;
    92 
    93 extern rtems_cpu_table           Cpu_table;
    94 
    9591extern void bsp_cleanup( void );
    9692
  • c/src/lib/libbsp/sh/simsh4/startup/bspstart.c

    r7321ff0 rd34d8692  
    4545
    4646extern rtems_configuration_table Configuration;
    47 
    4847rtems_configuration_table  BSP_Configuration;
    49 
    50 rtems_cpu_table Cpu_table;
    51 
    5248char *rtems_progname;
    5349
     
    128124  _CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low ;
    129125  _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
    130 
    131   /* This isn't used anywhere */
    132   Cpu_table.interrupt_stack_size =
    133     (uint32_t) (&CPU_Interrupt_stack_high) -
    134     (uint32_t) (&CPU_Interrupt_stack_low) ;
    135126#endif
    136127
    137 #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE )
    138   Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    139 #endif
    140 
     128  /*
     129   *  initialize the device driver parameters
     130   */
    141131  bsp_clicks_per_second = CPU_CLOCK_RATE_HZ;
    142132}
  • c/src/lib/libbsp/unix/posix/ChangeLog

    r7321ff0 rd34d8692  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
     4        from CPU Table to Configuration Table. Eliminate CPU Table from all
     5        ports. Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/unix/posix/include/bsp.h

    r7321ff0 rd34d8692  
    2626#include <rtems/console.h>
    2727#include <rtems/iosupp.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)
    3728
    3829#define RAM_START 0
     
    6455
    6556extern rtems_configuration_table BSP_Configuration;     /* owned by BSP */
    66 extern rtems_cpu_table           Cpu_table;             /* owned by BSP */
    67 
    6857extern int                       rtems_argc;
    6958extern char                    **rtems_argv;
  • c/src/lib/libbsp/unix/posix/startup/bspstart.c

    r7321ff0 rd34d8692  
    3434rtems_configuration_table    BSP_Configuration;
    3535rtems_multiprocessing_table  BSP_Multiprocessing;
    36 rtems_cpu_table              Cpu_table;
    3736uint32_t                     bsp_isr_level;
    3837uint32_t                     Heap_size;
     
    180179
    181180    /*
    182      * XXX; interrupt stack not currently used, so this doesn't matter
    183      */
    184 
    185     Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
    186 
    187     /*
    188181     * Add 1 extension for MPCI_fatal
    189182     */
     
    199192     */
    200193
    201     bsp_isr_level = rtems_initialize_executive_early(
    202       &BSP_Configuration,
    203       &Cpu_table
    204     );
     194    bsp_isr_level = rtems_initialize_executive_early( &BSP_Configuration );
    205195}
Note: See TracChangeset for help on using the changeset viewer.