Changeset 7735271 in rtems


Ignore:
Timestamp:
Apr 25, 2005, 2:37:10 PM (15 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
125c601
Parents:
dbfafb8f
Message:

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

PR 779/bsp

  • mpc5xx/console-generic/console-generic.c, mpc5xx/irq/irq.c, mpc5xx/irq/irq.h, mpc5xx/irq/irq_init.c: Add parameter to powerpc interrupt handler routines
Location:
c/src/lib/libcpu/powerpc
Files:
5 edited

Legend:

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

    rdbfafb8f r7735271  
     12005-04-25      Jennifer Averett <jennifer.averett@oarcorp.com>
     2
     3        PR 779/bsp
     4        * mpc5xx/console-generic/console-generic.c, mpc5xx/irq/irq.c,
     5        mpc5xx/irq/irq.h, mpc5xx/irq/irq_init.c: Add parameter to powerpc
     6        interrupt handler routines
     7
    182005-04-15      Jennifer Averett <jennifer.averett@oarcorp.com>
    29
  • c/src/lib/libcpu/powerpc/mpc5xx/console-generic/console-generic.c

    rdbfafb8f r7735271  
    271271 */
    272272static void
    273 m5xx_sci_interrupt_handler (void)
     273m5xx_sci_interrupt_handler (rtems_irq_hdl_param unused)
    274274{
    275275  int minor;
  • c/src/lib/libcpu/powerpc/mpc5xx/irq/irq.c

    rdbfafb8f r7735271  
    418418    _CPU_MSR_SET(new_msr);
    419419   
    420     rtems_hdl_tbl[CPU_DECREMENTER].hdl();
     420    rtems_hdl_tbl[CPU_DECREMENTER].hdl(rtems_hdl_tbl[CPU_DECREMENTER].handle);
    421421
    422422    _CPU_MSR_SET(msr);
     
    467467    _CPU_MSR_SET(new_msr);
    468468   
    469     rtems_hdl_tbl[irq].hdl();
     469    rtems_hdl_tbl[irq].hdl(rtems_hdl_tbl[irq].handle);
    470470
    471471    _CPU_MSR_SET(msr);
  • c/src/lib/libcpu/powerpc/mpc5xx/irq/irq.h

    rdbfafb8f r7735271  
    166166struct  __rtems_irq_connect_data__;     /* forward declaratiuon */
    167167
    168 typedef void (*rtems_irq_hdl)           (void);
     168typedef void *rtems_irq_hdl_param;
     169typedef void (*rtems_irq_hdl)           (rtems_irq_hdl_param);
    169170typedef void (*rtems_irq_enable)        (const struct __rtems_irq_connect_data__*);
    170171typedef void (*rtems_irq_disable)       (const struct __rtems_irq_connect_data__*);
     
    180181   */
    181182  rtems_irq_hdl                 hdl;
     183  /*
     184   * Handler handle to store private data
     185   */
     186   rtems_irq_hdl_param          handle;
    182187  /*
    183188   * Function for enabling interrupts at device level (ONLY!).
  • c/src/lib/libcpu/powerpc/mpc5xx/irq/irq_init.c

    rdbfafb8f r7735271  
    4949static rtems_irq_global_settings        initial_config;
    5050static rtems_irq_connect_data           defaultIrq = {
    51   /* vector,     hdl            , on            , off           , isOn */
    52   0,             nop_func       , nop_func      , nop_func      , not_connected
     51  /* vector,     hdl            ,handle         , on            , off           , isOn */
     52  0,             nop_func       ,NULL           , nop_func      , nop_func      , not_connected
    5353};
    5454
Note: See TracChangeset for help on using the changeset viewer.