Changeset f3b29236 in rtems for c/src/lib/libcpu


Ignore:
Timestamp:
Sep 18, 2017, 6:22:38 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a029230a
Parents:
c030edd
Message:

bsps: Clock_driver_support_install_isr()

Remove old ISR parameter since is not used by the clock driver shell.
Make an implementation optional.

Update #3139.

Location:
c/src/lib/libcpu/arm
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/at91rm9200/clock/clock.c

    rc030edd rf3b29236  
    7070
    7171
    72 #define Clock_driver_support_install_isr( _new, _old ) \
    73   do {                                                 \
    74       (_old) = NULL;                                   \
    75       BSP_install_rtems_irq_handler(&clock_isr_data);  \
    76   } while(0)
     72#define Clock_driver_support_install_isr( _new ) \
     73  BSP_install_rtems_irq_handler(&clock_isr_data)
    7774
    7875static void Clock_driver_support_initialize_hardware(void)
  • c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c

    rc030edd rf3b29236  
    8383 * Installs the clock ISR. You shouldn't need to change this.
    8484 */
    85 #define Clock_driver_support_install_isr( _new, _old ) \
    86   do {                                                 \
    87     (_old) = NULL;                                   \
    88     BSP_install_rtems_irq_handler(&clock_isr_data);  \
    89   } while(0)
     85#define Clock_driver_support_install_isr( _new ) \
     86  BSP_install_rtems_irq_handler(&clock_isr_data)
    9087
    9188/**
  • c/src/lib/libcpu/arm/mc9328mxl/clock/clockdrv.c

    rc030edd rf3b29236  
    5151 * Installs the clock ISR. You shouldn't need to change this.
    5252 */
    53 #define Clock_driver_support_install_isr( _new, _old ) \
    54   do {                                                 \
    55       (_old) = NULL;                                   \
    56       BSP_install_rtems_irq_handler(&clock_isr_data);  \
    57   } while(0)
     53#define Clock_driver_support_install_isr( _new ) \
     54  BSP_install_rtems_irq_handler(&clock_isr_data)
    5855
    5956/**
  • c/src/lib/libcpu/arm/pxa255/clock/clock.c

    rc030edd rf3b29236  
    8787};
    8888
    89 #define Clock_driver_support_install_isr( _new, _old ) \
    90   do {                                                 \
    91     _old = NULL;                                       \
    92     BSP_install_rtems_irq_handler(&clock_isr_data);    \
    93   } while (0)
     89#define Clock_driver_support_install_isr( _new ) \
     90  BSP_install_rtems_irq_handler(&clock_isr_data)
    9491
    9592static void Clock_driver_support_initialize_hardware(void)
  • c/src/lib/libcpu/arm/s3c24xx/clock/clockdrv.c

    rc030edd rf3b29236  
    4242 * Installs the clock ISR. You shouldn't need to change this.
    4343 */
    44 #define Clock_driver_support_install_isr( _new, _old ) \
    45   do {                                                 \
    46     _old = NULL;                                       \
    47     BSP_install_rtems_irq_handler(&clock_isr_data);    \
    48   } while(0)
     44#define Clock_driver_support_install_isr( _new ) \
     45  BSP_install_rtems_irq_handler(&clock_isr_data)
    4946
    5047
Note: See TracChangeset for help on using the changeset viewer.