Changeset e8db6d0 in rtems
- Timestamp:
- 10/12/14 18:58:22 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 459ddfc0
- Parents:
- 250a867f
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/12/14 18:58:22)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/shared/clock/p_clock.c
r250a867f re8db6d0 1 1 /* 2 2 * Clock Tick interrupt conexion code. 3 * 3 */ 4 5 /* 4 6 * COPYRIGHT (c) 1989-1997. 5 7 * On-Line Applications Research Corporation (OAR). … … 19 21 20 22 static rtems_irq_connect_data clockIrqData; 21 static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER, 22 clockIsr, 23 NULL, 24 (rtems_irq_enable)clockOn, 25 (rtems_irq_disable)clockOff, 26 (rtems_irq_is_enabled) clockIsOn}; 27 int BSP_disconnect_clock_handler (void) 23 static rtems_irq_connect_data clockIrqData = { 24 BSP_DECREMENTER, 25 clockIsr, 26 NULL, 27 (rtems_irq_enable)clockOn, 28 (rtems_irq_disable)clockOff, 29 (rtems_irq_is_enabled) clockIsOn 30 }; 31 32 int BSP_disconnect_clock_handler(void) 28 33 { 29 return BSP_remove_rtems_irq_handler 34 return BSP_remove_rtems_irq_handler(&clockIrqData); 30 35 } 31 36 32 int BSP_connect_clock_handler 37 int BSP_connect_clock_handler(void) 33 38 { 34 39 if ( ppc_cpu_is_bookE() ) 35 40 clockIrqData.hdl = clockIsrBookE; 36 41 37 return BSP_install_rtems_irq_handler 42 return BSP_install_rtems_irq_handler(&clockIrqData); 38 43 }
Note: See TracChangeset
for help on using the changeset viewer.