Changeset 6ef01b4 in rtems


Ignore:
Timestamp:
Apr 15, 2005, 6:13:36 PM (15 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6d717e8d
Parents:
4953659b
Message:

2005-04-15 Jennifer Averett <jennifer.averett@…>

PR 779/bsp

  • irq/irq.c, irq/irq.h, irq/irq_init.c: add parameter to new exception interrupt handlers in powerpc bsps
Location:
c/src/lib/libbsp/powerpc/psim
Files:
4 edited

Legend:

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

    r4953659b r6ef01b4  
     12005-04-15      Jennifer Averett <jennifer.averett@oarcorp.com>
     2
     3        PR 779/bsp
     4        * irq/irq.c, irq/irq.h, irq/irq_init.c: add parameter to new exception
     5        interrupt handlers in powerpc bsps
     6
    172005-04-11      Jennifer Averett <jennifer@OARcorp.com>
    28
  • c/src/lib/libbsp/powerpc/psim/irq/irq.c

    r4953659b r6ef01b4  
    307307    _CPU_MSR_SET(new_msr);
    308308   
    309     rtems_hdl_tbl[BSP_DECREMENTER].hdl();
     309    rtems_hdl_tbl[BSP_DECREMENTER].hdl(rtems_hdl_tbl[BSP_DECREMENTER].handle);
    310310
    311311    _CPU_MSR_SET(msr);
  • c/src/lib/libbsp/powerpc/psim/irq/irq.h

    r4953659b r6ef01b4  
    138138struct  __rtems_irq_connect_data__;     /* forward declaratiuon */
    139139
    140 typedef void (*rtems_irq_hdl)           (void);
     140typedef void *rtems_irq_hdl_param;
     141typedef void (*rtems_irq_hdl)           (rtems_irq_hdl_param);
    141142typedef void (*rtems_irq_enable)        (const struct __rtems_irq_connect_data__*);
    142143typedef void (*rtems_irq_disable)       (const struct __rtems_irq_connect_data__*);
     
    152153       */
    153154      rtems_irq_hdl                     hdl;
     155     /*
     156      * Handler handle to store private data
     157      */
     158      rtems_irq_hdl_param               handle;
    154159      /*
    155160       * function for enabling interrupts at device level (ONLY!).
  • c/src/lib/libbsp/powerpc/psim/irq/irq_init.c

    r4953659b r6ef01b4  
    6666static rtems_irq_global_settings        initial_config;
    6767static rtems_irq_connect_data           defaultIrq = {
    68   /* vectorIdex,         hdl            , on            , off           , isOn */
    69   0,                     nop_func       , nop_func      , nop_func      , not_connected
     68  /* vectorIdex,         hdl            , handle        , on            , off           , isOn */
     69  0,                     nop_func       , NULL          , nop_func      , nop_func      , not_connected
    7070};
    7171static rtems_irq_prio irqPrioTable[BSP_IRQ_NUMBER]={
Note: See TracChangeset for help on using the changeset viewer.