Changeset a045c9d in rtems


Ignore:
Timestamp:
Nov 30, 2007, 8:45:11 PM (12 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.9, master
Children:
340b7c8
Parents:
860c34e
Message:

2007-11-30 Till Straumann <strauman@…>

  • irq/irq.h, irq/irq_init.c: Removed the definition of ASM_IRQ_VECTOR_BASE; this symbol was only use to initialize the irqBase member of the rtems_irq_global_settings struct. However, irqBase is an rtems_irq_symbolic_name, so using BSP_LOWEST_OFFSET is more appropriate.
Location:
c/src/lib/libbsp/powerpc
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ChangeLog

    r860c34e ra045c9d  
     12007-11-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * shared/irq/irq.h, shared/irq/irq_init.c: Removed the definition
     4        of ASM_IRQ_VECTOR_BASE; this symbol was only use to
     5        initialize the irqBase member of the rtems_irq_global_settings
     6        struct. However, irqBase is an rtems_irq_symbolic_name,
     7        so using BSP_LOWEST_OFFSET is more appropriate.
     8
    192007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    r860c34e ra045c9d  
     12007-11-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * irq/irq.h, irq/irq_init.c: Removed the definition
     4        of ASM_IRQ_VECTOR_BASE; this symbol was only use to
     5        initialize the irqBase member of the rtems_irq_global_settings
     6        struct. However, irqBase is an rtems_irq_symbolic_name,
     7        so using BSP_LOWEST_OFFSET is more appropriate.
     8
    192007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/ep1a/irq/irq_init.c

    r860c34e ra045c9d  
    295295    initial_config.defaultEntry = defaultIrq;
    296296    initial_config.irqHdlTbl    = rtemsIrq;
    297     initial_config.irqBase      = BSP_ASM_IRQ_VECTOR_BASE;
     297    initial_config.irqBase      = BSP_LOWEST_OFFSET;
    298298    initial_config.irqPrioTbl   = irqPrioTable;
    299299
  • c/src/lib/libbsp/powerpc/gen5200/ChangeLog

    r860c34e ra045c9d  
     12007-11-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * irq/irq.h, irq/irq_init.c: Removed the definition
     4        of ASM_IRQ_VECTOR_BASE; this symbol was only use to
     5        initialize the irqBase member of the rtems_irq_global_settings
     6        struct. However, irqBase is an rtems_irq_symbolic_name,
     7        so using BSP_LOWEST_OFFSET is more appropriate.
     8
    192007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/gen5200/irq/irq.h

    r860c34e ra045c9d  
    100100
    101101/*
    102  * Base index for the module specific irq handlers
    103  */
    104 #define BSP_ASM_IRQ_VECTOR_BASE         0
    105 #define BSP_PER_VECTOR_BASE             BSP_ASM_IRQ_VECTOR_BASE /* 0 */
    106 /*
    107102 * Peripheral IRQ handlers related definitions
    108103 */
    109104#define BSP_PER_IRQ_NUMBER              22
    110 #define BSP_PER_IRQ_LOWEST_OFFSET       BSP_PER_VECTOR_BASE  /* 0 */
     105#define BSP_PER_IRQ_LOWEST_OFFSET       0
    111106#define BSP_PER_IRQ_MAX_OFFSET          \
    112107        (BSP_PER_IRQ_LOWEST_OFFSET + BSP_PER_IRQ_NUMBER - 1) /* 21 */
     
    289284  rtems_irq_connect_data*       irqHdlTbl;
    290285  /*
    291    * actual value of BSP_PER_IRQ_VECTOR_BASE...
     286   * actual value of BSP_PER_IRQ_LOWEST_OFFSET...
    292287   */
    293288  rtems_irq_symbolic_name       irqBase;
  • c/src/lib/libbsp/powerpc/gen5200/irq/irq_init.c

    r860c34e ra045c9d  
    251251  initial_config.defaultEntry = defaultIrq;
    252252  initial_config.irqHdlTbl    = rtemsIrq;
    253   initial_config.irqBase      = BSP_ASM_IRQ_VECTOR_BASE;
     253  initial_config.irqBase      = BSP_LOWEST_OFFSET;
    254254  initial_config.irqPrioTbl   = irqPrioTable;
    255255
  • c/src/lib/libbsp/powerpc/gen83xx/ChangeLog

    r860c34e ra045c9d  
     12007-11-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * irq/irq.h, irq/irq_init.c: Removed the definition
     4        of ASM_IRQ_VECTOR_BASE; this symbol was only use to
     5        initialize the irqBase member of the rtems_irq_global_settings
     6        struct. However, irqBase is an rtems_irq_symbolic_name,
     7        so using BSP_LOWEST_OFFSET is more appropriate.
     8
    192007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/gen83xx/irq/irq.h

    r860c34e ra045c9d  
    2929
    3030/*
    31  * Base index for the module specific irq handlers
    32  */
    33 #define BSP_ASM_IRQ_VECTOR_BASE 0x0
    34 #define BSP_IPIC_VECTOR_BASE    BSP_ASM_IRQ_VECTOR_BASE
    35 
    36 /*
    3731 * Peripheral IRQ handlers related definitions
    3832 */
    3933#define BSP_IPIC_PER_IRQ_NUMBER         128
    40 #define BSP_IPIC_IRQ_LOWEST_OFFSET   BSP_IPIC_VECTOR_BASE  /* 0 */
     34#define BSP_IPIC_IRQ_LOWEST_OFFSET        0
    4135#define BSP_IPIC_IRQ_MAX_OFFSET      (BSP_IPIC_IRQ_LOWEST_OFFSET\
    4236                                         +BSP_IPIC_PER_IRQ_NUMBER-1)
  • c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog

    r860c34e ra045c9d  
     12007-11-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * irq/irq.h, irq/irq_init.c: Removed the definition
     4        of ASM_IRQ_VECTOR_BASE; this symbol was only use to
     5        initialize the irqBase member of the rtems_irq_global_settings
     6        struct. However, irqBase is an rtems_irq_symbolic_name,
     7        so using BSP_LOWEST_OFFSET is more appropriate.
     8
    192007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/mbx8xx/irq/irq.h

    r860c34e ra045c9d  
    2424#include <rtems/irq.h>
    2525
    26 #define BSP_ASM_IRQ_VECTOR_BASE 0x0
    27 
    2826#ifndef ASM
    2927
     
    3836 */
    3937
    40   /* Base vector for our SIU IRQ handlers. */
    41 #define BSP_SIU_VECTOR_BASE     BSP_ASM_IRQ_VECTOR_BASE
    4238  /*
    4339   * SIU IRQ handler related definitions
     
    5147   */
    5248#define BSP_CPM_IRQ_NUMBER              32
    53 #define BSP_CPM_IRQ_LOWEST_OFFSET       (BSP_SIU_IRQ_NUMBER + BSP_SIU_VECTOR_BASE)
     49#define BSP_CPM_IRQ_LOWEST_OFFSET       (BSP_SIU_IRQ_NUMBER + BSP_IRQ_LOWEST_OFFSET)
    5450#define BSP_CPM_IRQ_MAX_OFFSET          (BSP_CPM_IRQ_LOWEST_OFFSET + BSP_CPM_IRQ_NUMBER - 1)
    5551  /*
  • c/src/lib/libbsp/powerpc/mbx8xx/irq/irq_init.c

    r860c34e ra045c9d  
    127127    initial_config.defaultEntry = defaultIrq;
    128128    initial_config.irqHdlTbl    = rtemsIrq;
    129     initial_config.irqBase      = BSP_ASM_IRQ_VECTOR_BASE;
     129    initial_config.irqBase      = BSP_LOWEST_OFFSET;
    130130    initial_config.irqPrioTbl   = irqPrioTable;
    131131
  • c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog

    r860c34e ra045c9d  
     12007-11-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * irq/irq.h, irq/irq_init.c: Removed the definition
     4        of ASM_IRQ_VECTOR_BASE; this symbol was only use to
     5        initialize the irqBase member of the rtems_irq_global_settings
     6        struct. However, irqBase is an rtems_irq_symbolic_name,
     7        so using BSP_LOWEST_OFFSET is more appropriate.
     8
    192007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.h

    r860c34e ra045c9d  
    3131#include <rtems/irq.h>
    3232
    33 #define BSP_ASM_IRQ_VECTOR_BASE 0x0
    34 
    3533#ifndef ASM
    3634
     
    4745 */
    4846
    49   /* Base vector for our SIU IRQ handlers. */
    50 #define BSP_SIU_VECTOR_BASE             (BSP_ASM_IRQ_VECTOR_BASE)
    51 
    5247  /*
    5348   * CPM IRQ handlers related definitions
     
    5550   */
    5651#define BSP_CPM_IRQ_NUMBER              (64)
    57 #define BSP_CPM_IRQ_LOWEST_OFFSET       (BSP_SIU_VECTOR_BASE)
     52#define BSP_CPM_IRQ_LOWEST_OFFSET       (0)
    5853#define BSP_CPM_IRQ_MAX_OFFSET          (BSP_CPM_IRQ_LOWEST_OFFSET + BSP_CPM_IRQ_NUMBER - 1)
    5954  /*
  • c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq_init.c

    r860c34e ra045c9d  
    116116    initial_config.defaultEntry = defaultIrq;
    117117    initial_config.irqHdlTbl    = rtemsIrq;
    118     initial_config.irqBase              = BSP_ASM_IRQ_VECTOR_BASE;
     118    initial_config.irqBase              = BSP_LOWEST_OFFSET;
    119119    initial_config.irqPrioTbl   = irqPrioTable;
    120120
  • c/src/lib/libbsp/powerpc/mvme5500/ChangeLog

    r860c34e ra045c9d  
     12007-11-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * irq/irq.h, irq/irq_init.c: Removed the definition
     4        of ASM_IRQ_VECTOR_BASE; this symbol was only use to
     5        initialize the irqBase member of the rtems_irq_global_settings
     6        struct. However, irqBase is an rtems_irq_symbolic_name,
     7        so using BSP_LOWEST_OFFSET is more appropriate.
     8
    192007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/mvme5500/irq/irq.h

    r860c34e ra045c9d  
    3232/*#define BSP_SHARED_HANDLER_SUPPORT      1*/
    3333#include <rtems/irq.h>
    34 
    35 #define BSP_ASM_IRQ_VECTOR_BASE 0x0
    3634
    3735#ifndef ASM
  • c/src/lib/libbsp/powerpc/mvme5500/irq/irq_init.c

    r860c34e ra045c9d  
    124124  initial_config.defaultEntry   = defaultIrq;
    125125  initial_config.irqHdlTbl      = rtemsIrq;
    126   initial_config.irqBase        = BSP_ASM_IRQ_VECTOR_BASE;
     126  initial_config.irqBase        = BSP_LOWEST_OFFSET;
    127127  initial_config.irqPrioTbl     = BSPirqPrioTable;
    128128
  • c/src/lib/libbsp/powerpc/score603e/ChangeLog

    r860c34e ra045c9d  
     12007-11-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * irq/irq.h, irq/irq_init.c: Removed the definition
     4        of ASM_IRQ_VECTOR_BASE; this symbol was only use to
     5        initialize the irqBase member of the rtems_irq_global_settings
     6        struct. However, irqBase is an rtems_irq_symbolic_name,
     7        so using BSP_LOWEST_OFFSET is more appropriate.
     8
    192007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/score603e/irq/irq.h

    r860c34e ra045c9d  
    4848#define ELCRM_INT0_LVL          0x1
    4949
    50 #define BSP_ASM_IRQ_VECTOR_BASE 0x0
    5150    /* PIC's command and mask registers */
    5251#define PIC_MASTER_COMMAND_IO_PORT              0x20    /* Master PIC command register */
     
    7069 */
    7170
    72   /* Base vector for our ISA IRQ handlers. */
    73 #define BSP_ISA_IRQ_VECTOR_BASE         BSP_ASM_IRQ_VECTOR_BASE
    7471  /*
    7572   * ISA IRQ handler related definitions
  • c/src/lib/libbsp/powerpc/score603e/irq/irq_init.c

    r860c34e ra045c9d  
    328328    initial_config.defaultEntry = defaultIrq;
    329329    initial_config.irqHdlTbl    = rtemsIrq;
    330     initial_config.irqBase      = BSP_ASM_IRQ_VECTOR_BASE;
     330    initial_config.irqBase      = BSP_LOWEST_OFFSET;
    331331    initial_config.irqPrioTbl   = irqPrioTable;
    332332
  • c/src/lib/libbsp/powerpc/shared/irq/irq.h

    r860c34e ra045c9d  
    4848#define ELCRM_INT0_LVL          0x1
    4949
    50 #define BSP_ASM_IRQ_VECTOR_BASE 0x0
    5150    /* PIC's command and mask registers */
    5251#define PIC_MASTER_COMMAND_IO_PORT              0x20    /* Master PIC command register */
     
    7069 */
    7170
    72 /* Base vector for our ISA IRQ handlers. */
    73 #define  BSP_ISA_IRQ_VECTOR_BASE        (BSP_ASM_IRQ_VECTOR_BASE)
    7471/*
    7572 * ISA IRQ handler related definitions
  • c/src/lib/libbsp/powerpc/shared/irq/irq_init.c

    r860c34e ra045c9d  
    352352    initial_config.defaultEntry = defaultIrq;
    353353    initial_config.irqHdlTbl    = rtemsIrq;
    354     initial_config.irqBase      = BSP_ASM_IRQ_VECTOR_BASE;
     354    initial_config.irqBase      = BSP_LOWEST_OFFSET;
    355355    initial_config.irqPrioTbl   = irqPrioTable;
    356356
  • c/src/lib/libbsp/powerpc/virtex/ChangeLog

    r860c34e ra045c9d  
     12007-11-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * irq/irq.h, irq/irq_init.c: Removed the definition
     4        of ASM_IRQ_VECTOR_BASE; this symbol was only use to
     5        initialize the irqBase member of the rtems_irq_global_settings
     6        struct. However, irqBase is an rtems_irq_symbolic_name,
     7        so using BSP_LOWEST_OFFSET is more appropriate.
     8
    192007-11-28      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • c/src/lib/libbsp/powerpc/virtex/irq/irq.h

    r860c34e ra045c9d  
    2929
    3030/*
    31  * Base index for the module specific irq handlers
    32  */
    33 #define BSP_ASM_IRQ_VECTOR_BASE 0x0
    34 #define BSP_OPBINTC_VECTOR_BASE BSP_ASM_IRQ_VECTOR_BASE
    35 
    36 /*
    3731 * Peripheral IRQ handlers related definitions
    3832 */
    3933#define BSP_OPBINTC_PER_IRQ_NUMBER      XPAR_INTC_MAX_NUM_INTR_INPUTS
    40 #define BSP_OPBINTC_IRQ_LOWEST_OFFSET   BSP_OPBINTC_VECTOR_BASE  /* 0 */
     34#define BSP_OPBINTC_IRQ_LOWEST_OFFSET   0
    4135#define BSP_OPBINTC_IRQ_MAX_OFFSET      (BSP_OPBINTC_IRQ_LOWEST_OFFSET\
    4236                                         +BSP_OPBINTC_PER_IRQ_NUMBER-1)
Note: See TracChangeset for help on using the changeset viewer.