Changeset ee29de05 in rtems


Ignore:
Timestamp:
Dec 4, 2007, 10:19:10 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
6aa25da
Parents:
2906c7a
Message:

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

  • cpu.c, rtems/score/cpu.h: 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:
cpukit/score/cpu
Files:
39 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/arm/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/arm/cpu.c

    r2906c7a ree29de05  
    3131 *
    3232 *  INPUT PARAMETERS:
    33  *    cpu_table       - CPU table to initialize
    3433 *    thread_dispatch - address of ISR disptaching routine (unused)
    35  *   
    3634 */
    3735
    3836void _CPU_Initialize(
    39   rtems_cpu_table  *cpu_table,
    4037  void      (*thread_dispatch)      /* ignored on this CPU */
    4138)
  • cpukit/score/cpu/arm/rtems/score/cpu.h

    r2906c7a ree29de05  
    381381
    382382/*
    383  *  The following table contains the information required to configure
    384  *  the XXX processor specific parameters.
    385  */
    386 
    387 typedef struct {
    388   uint32_t     interrupt_stack_size;
    389 }   rtems_cpu_table;
    390 
    391 /*
    392383 *  This variable is optional.  It is used on CPUs on which it is difficult
    393384 *  to generate an "uninitialized" FP context.  It is filled in by
     
    707698
    708699void _CPU_Initialize(
    709   rtems_cpu_table  *cpu_table,
    710700  void      (*thread_dispatch)
    711701);
  • cpukit/score/cpu/avr/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/avr/cpu.c

    r2906c7a ree29de05  
    2222 *
    2323 *  INPUT PARAMETERS:
    24  *    cpu_table       - CPU table to initialize
    2524 *    thread_dispatch - address of disptaching routine
    2625 *
     
    3231
    3332void _CPU_Initialize(
    34   rtems_cpu_table  *cpu_table,
    3533  void      (*thread_dispatch)      /* ignored on this CPU */
    3634)
  • cpukit/score/cpu/avr/rtems/score/cpu.h

    r2906c7a ree29de05  
    418418    uint32_t   special_interrupt_register;
    419419} CPU_Interrupt_frame;
    420 
    421 
    422 /*
    423  *  The following table contains the information required to configure
    424  *  the XXX processor specific parameters.
    425  *
    426  *  AVR Specific Information:
    427  *
    428  *  XXX document implementation including references if appropriate
    429  */
    430 
    431 typedef struct {
    432   uint32_t     interrupt_stack_size;
    433 }   rtems_cpu_table;
    434420
    435421/*
     
    935921
    936922void _CPU_Initialize(
    937   rtems_cpu_table  *cpu_table,
    938923  void      (*thread_dispatch)
    939924);
  • cpukit/score/cpu/bfin/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/bfin/cpu.c

    r2906c7a ree29de05  
    2323 *
    2424 *  INPUT PARAMETERS:
    25  *    cpu_table       - CPU table to initialize
    2625 *    thread_dispatch - address of disptaching routine
    2726 *
     
    3332
    3433void _CPU_Initialize(
    35   rtems_cpu_table  *cpu_table,
    3634  void      (*thread_dispatch)      /* ignored on this CPU */
    3735)
  • cpukit/score/cpu/bfin/rtems/score/cpu.h

    r2906c7a ree29de05  
    550550} CPU_Interrupt_frame;
    551551
    552 
    553 /**
    554  *  The following table contains the information required to configure
    555  *  the XXX processor specific parameters.
    556  *
    557  *  Port Specific Information:
    558  *
    559  *  XXX document implementation including references if appropriate
    560  */
    561 
    562 typedef struct {
    563   /** This field specifies the size of the interrupt stack.  If less than or
    564    *  equal to the minimum stack size, then the interrupt stack will be of
    565    *  minimum stack size.
    566    */
    567   uint32_t     interrupt_stack_size;
    568 }   rtems_cpu_table;
    569 
    570552/**
    571553 *  This variable is optional.  It is used on CPUs on which it is difficult
     
    11631145 */
    11641146void _CPU_Initialize(
    1165   rtems_cpu_table  *cpu_table,
    11661147  void      (*thread_dispatch)
    11671148);
  • cpukit/score/cpu/c4x/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/c4x/cpu.c

    r2906c7a ree29de05  
    2323 *
    2424 *  INPUT PARAMETERS:
    25  *    cpu_table       - CPU table to initialize
    2625 *    thread_dispatch - address of disptaching routine
    2726 *
     
    3130
    3231void _CPU_Initialize(
    33   rtems_cpu_table  *cpu_table,
    3432  void      (*thread_dispatch)      /* ignored on this CPU */
    3533)
  • cpukit/score/cpu/c4x/rtems/score/cpu.h

    r2906c7a ree29de05  
    521521
    522522/*
    523  *  The following table contains the information required to configure
    524  *  the C4x processor specific parameters.
    525  *
    526  *  C4x Specific Information:
    527  *
    528  *  XXXanswer
    529  */
    530 
    531 typedef struct {
    532   uint32_t     interrupt_stack_size;
    533 }   rtems_cpu_table;
    534 
    535 /*
    536523 *  Macros to access C4X specific additions to the CPU Table
    537524 *
     
    10771064
    10781065void _CPU_Initialize(
    1079   rtems_cpu_table  *cpu_table,
    10801066  void      (*thread_dispatch)
    10811067);
  • cpukit/score/cpu/h8300/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/h8300/cpu.c

    r2906c7a ree29de05  
    2121 *
    2222 *  INPUT PARAMETERS:
    23  *    cpu_table       - CPU table to initialize
    2423 *    thread_dispatch - address of disptaching routine
    2524 */
     
    2726
    2827void _CPU_Initialize(
    29   rtems_cpu_table  *cpu_table,
    3028  void      (*thread_dispatch)      /* ignored on this CPU */
    3129)
  • cpukit/score/cpu/h8300/rtems/score/cpu.h

    r2906c7a ree29de05  
    396396    uint32_t   special_interrupt_register;
    397397} CPU_Interrupt_frame;
    398 
    399 
    400 /*
    401  *  The following table contains the information required to configure
    402  *  the XXX processor specific parameters.
    403  *
    404  *  NOTE: The interrupt_stack_size field is required if
    405  *        CPU_ALLOCATE_INTERRUPT_STACK is defined as TRUE.
    406  *
    407  *  H8300 Specific Information:
    408  *
    409  *  XXX
    410  */
    411 
    412 typedef struct {
    413   uint32_t     interrupt_stack_size;
    414 }   rtems_cpu_table;
    415398
    416399/*
     
    994977
    995978void _CPU_Initialize(
    996   rtems_cpu_table  *cpu_table,
    997979  void      (*thread_dispatch)
    998980);
  • cpukit/score/cpu/i386/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/i386/cpu.c

    r2906c7a ree29de05  
    2727 *
    2828 *  INPUT PARAMETERS:
    29  *    cpu_table       - CPU table to initialize
    3029 *    thread_dispatch - address of disptaching routine
    3130 */
     
    3332
    3433void _CPU_Initialize(
    35   rtems_cpu_table  *cpu_table,
    3634  void      (*thread_dispatch)      /* ignored on this CPU */
    3735)
  • cpukit/score/cpu/i386/rtems/score/cpu.h

    r2906c7a ree29de05  
    180180
    181181/*
    182  *  The following table contains the information required to configure
    183  *  the i386 specific parameters.
    184  */
    185 
    186 typedef struct {
    187   void       (*pretasking_hook)( void );
    188   void       (*predriver_hook)( void );
    189   void       (*postdriver_hook)( void );
    190   uint32_t     interrupt_stack_size;
    191 }   rtems_cpu_table;
    192 
    193 /*
    194182 *  context size area for floating point
    195183 *
     
    400388
    401389void _CPU_Initialize(
    402   rtems_cpu_table  *cpu_table,
    403390  void      (*thread_dispatch)
    404391);
  • cpukit/score/cpu/m68k/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/m68k/cpu.c

    r2906c7a ree29de05  
    2020 *
    2121 *  INPUT PARAMETERS:
    22  *    cpu_table       - CPU table to initialize
    2322 *    thread_dispatch - entry pointer to thread dispatcher
    2423 *
     
    2726
    2827void _CPU_Initialize(
    29   rtems_cpu_table  *cpu_table,
    3028  void      (*thread_dispatch)      /* ignored on this CPU */
    3129)
  • cpukit/score/cpu/m68k/rtems/score/cpu.h

    r2906c7a ree29de05  
    185185  uint32_t   a0, a1, a2, a3, a4, a5, a6, a7;
    186186} CPU_Exception_frame;
    187 
    188 /*
    189  *  The following table contains the information required to configure
    190  *  the m68k specific parameters.
    191  */
    192 
    193 typedef struct {
    194   uint32_t     interrupt_stack_size;
    195 }   rtems_cpu_table;
    196187
    197188/* variables */
     
    563554
    564555void _CPU_Initialize(
    565   rtems_cpu_table  *cpu_table,
    566556  void      (*thread_dispatch)
    567557);
  • cpukit/score/cpu/mips/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/mips/cpu.c

    r2906c7a ree29de05  
    7272 *
    7373 *  INPUT PARAMETERS:
    74  *    cpu_table       - CPU table to initialize
    7574 *    thread_dispatch - address of disptaching routine
    7675 */
    77 
    78 
    7976void _CPU_Initialize(
    80   rtems_cpu_table  *cpu_table,
    8177  void      (*thread_dispatch)      /* ignored on this CPU */
    8278)
  • cpukit/score/cpu/mips/rtems/score/cpu.h

    r2906c7a ree29de05  
    592592} CPU_Interrupt_frame;
    593593
    594 
    595 /*
    596  *  The following table contains the information required to configure
    597  *  the mips processor specific parameters.
    598  */
    599 
    600 typedef struct {
    601   uint32_t     interrupt_stack_size;
    602 }   rtems_cpu_table;
    603 
    604594/*
    605595 *  This variable is optional.  It is used on CPUs on which it is difficult
     
    10581048
    10591049void _CPU_Initialize(
    1060   rtems_cpu_table  *cpu_table,
    10611050  void      (*thread_dispatch)
    10621051);
  • cpukit/score/cpu/nios2/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/nios2/cpu.c

    r2906c7a ree29de05  
    2121 *
    2222 *  INPUT PARAMETERS:
    23  *    cpu_table       - CPU table to initialize
    2423 *    thread_dispatch - address of disptaching routine
    2524 *
     
    3130
    3231void _CPU_Initialize(
    33   rtems_cpu_table  *cpu_table,
    3432  void      (*thread_dispatch)      /* ignored on this CPU */
    3533)
  • cpukit/score/cpu/nios2/rtems/score/cpu.h

    r2906c7a ree29de05  
    542542} CPU_Exception_frame;
    543543
    544 
    545 /**
    546  *  The following table contains the information required to configure
    547  *  the XXX processor specific parameters.
    548  *
    549  *  Port Specific Information:
    550  *
    551  *  XXX document implementation including references if appropriate
    552  */
    553 
    554 typedef struct {
    555   /** This element points to the BSP's pretasking hook. */
    556   void       (*pretasking_hook)( void );
    557   /** This element points to the BSP's predriver hook. */
    558   void       (*predriver_hook)( void );
    559   /** This element points to the BSP's postdriver hook. */
    560   void       (*postdriver_hook)( void );
    561   /** This field specifies the size of the interrupt stack.  If less than or
    562    *  equal to the minimum stack size, then the interrupt stack will be of
    563    *  minimum stack size.
    564    */
    565   uint32_t     interrupt_stack_size;
    566 }   rtems_cpu_table;
    567 
    568544/**
    569545 *  This variable is optional.  It is used on CPUs on which it is difficult
     
    11621138 */
    11631139void _CPU_Initialize(
    1164   rtems_cpu_table  *cpu_table,
    11651140  void      (*thread_dispatch)
    11661141);
  • cpukit/score/cpu/no_cpu/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/no_cpu/cpu.c

    r2906c7a ree29de05  
    2222 *
    2323 *  INPUT PARAMETERS:
    24  *    cpu_table       - CPU table to initialize
    2524 *    thread_dispatch - address of disptaching routine
    2625 *
     
    2928 *  XXX document implementation including references if appropriate
    3029 */
    31 
    32 
    3330void _CPU_Initialize(
    34   rtems_cpu_table  *cpu_table,
    3531  void      (*thread_dispatch)      /* ignored on this CPU */
    3632)
  • cpukit/score/cpu/no_cpu/rtems/score/cpu.h

    r2906c7a ree29de05  
    486486    uint32_t   special_interrupt_register;
    487487} CPU_Interrupt_frame;
    488 
    489 
    490 /**
    491  *  The following table contains the information required to configure
    492  *  the XXX processor specific parameters.
    493  *
    494  *  Port Specific Information:
    495  *
    496  *  XXX document implementation including references if appropriate
    497  */
    498 
    499 typedef struct {
    500   /** This field specifies the size of the interrupt stack.  If less than or
    501    *  equal to the minimum stack size, then the interrupt stack will be of
    502    *  minimum stack size.
    503    */
    504   uint32_t     interrupt_stack_size;
    505 }   rtems_cpu_table;
    506488
    507489/**
     
    10771059 */
    10781060void _CPU_Initialize(
    1079   rtems_cpu_table  *cpu_table,
    10801061  void      (*thread_dispatch)
    10811062);
  • cpukit/score/cpu/sh/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/sh/cpu.c

    r2906c7a ree29de05  
    4141 *
    4242 *  INPUT PARAMETERS:
    43  *    cpu_table       - CPU table to initialize
    4443 *    thread_dispatch - address of disptaching routine
    4544 */
     
    4746
    4847void _CPU_Initialize(
    49   rtems_cpu_table  *cpu_table,
    5048  void      (*thread_dispatch)      /* ignored on this CPU */
    5149)
  • cpukit/score/cpu/sh/rtems/score/cpu.h

    r2906c7a ree29de05  
    385385typedef struct {
    386386} CPU_Interrupt_frame;
    387 
    388 
    389 /*
    390  *  The following table contains the information required to configure
    391  *  the SH processor specific parameters.
    392  */
    393 
    394 typedef struct {
    395   uint32_t     interrupt_stack_size;
    396   /* end of fields required on all CPUs */
    397 }   rtems_cpu_table;
    398387
    399388/*
     
    822811
    823812void _CPU_Initialize(
    824   rtems_cpu_table  *cpu_table,
    825813  void      (*thread_dispatch)
    826814);
  • cpukit/score/cpu/sparc/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/sparc/cpu.c

    r2906c7a ree29de05  
    4040 *
    4141 *  Input Parameters:
    42  *    cpu_table       - CPU table to initialize
    4342 *    thread_dispatch - address of disptaching routine
    4443 *
     
    5049
    5150void _CPU_Initialize(
    52   rtems_cpu_table  *cpu_table,
    5351  void            (*thread_dispatch)      /* ignored on this CPU */
    5452)
  • cpukit/score/cpu/sparc/rtems/score/cpu.h

    r2906c7a ree29de05  
    499499#define CONTEXT_CONTROL_INTERRUPT_FRAME_SIZE CPU_MINIMUM_STACK_FRAME_SIZE + 0x50
    500500#ifndef ASM
    501 
    502 /*
    503  *  The following table contains the information required to configure
    504  *  the processor specific parameters.
    505  */
    506 
    507 typedef struct {
    508   uint32_t     interrupt_stack_size;
    509   /* end of fields required on all CPUs */
    510 }   rtems_cpu_table;
    511 
    512501/*
    513502 *  This variable is contains the initialize context for the FP unit.
     
    882871
    883872void _CPU_Initialize(
    884   rtems_cpu_table  *cpu_table,
    885873  void            (*thread_dispatch)
    886874);
  • cpukit/score/cpu/unix/ChangeLog

    r2906c7a ree29de05  
     12007-12-04      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * cpu.c, rtems/score/cpu.h: Move interrupt_stack_size field from CPU
     4        Table to Configuration Table. Eliminate CPU Table from all ports.
     5        Delete references to CPU Table in all forms.
     6
    172007-12-03      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • cpukit/score/cpu/unix/cpu.c

    r2906c7a ree29de05  
    273273 *
    274274 *  INPUT PARAMETERS:
    275  *    cpu_table       - CPU table to initialize
    276275 *    thread_dispatch - address of disptaching routine
    277276 */
     
    279278
    280279void _CPU_Initialize(
    281   rtems_cpu_table  *cpu_table,
    282280  void            (*thread_dispatch)      /* ignored on this CPU */
    283281)
     
    313311
    314312  /* XXX: FP context initialization support */
    315 
    316   _CPU_Table = *cpu_table;
    317313
    318314  _CPU_Sync_io_Init();
  • cpukit/score/cpu/unix/rtems/score/cpu.h

    r2906c7a ree29de05  
    492492} CPU_Interrupt_frame;
    493493
    494 
    495 /*
    496  *  The following table contains the information required to configure
    497  *  the UNIX Simulator specific parameters.
    498  */
    499 
    500 typedef struct {
    501   uint32_t     interrupt_stack_size;
    502 }   rtems_cpu_table;
    503 
    504494/*
    505495 *  This variable is optional.  It is used on CPUs on which it is difficult
     
    875865
    876866void _CPU_Initialize(
    877   rtems_cpu_table  *cpu_table,
    878867  void      (*thread_dispatch)
    879868);
Note: See TracChangeset for help on using the changeset viewer.