Changeset 5981c8ca in rtems
- Timestamp:
- 01/18/19 10:29:08 (5 years ago)
- Branches:
- 5, master
- Children:
- 9b2b389
- Parents:
- 411c297
- git-author:
- Jiri Gaisler <jiri@…> (01/18/19 10:29:08)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (01/22/19 11:49:58)
- Location:
- bsps/shared/grlib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
bsps/shared/grlib/ascs/grascs.c
r411c297 r5981c8ca 131 131 the associated semaphore 132 132 */ 133 static rtems_isr ASCS_irqhandler( rtems_vector_numberv) {133 static rtems_isr ASCS_irqhandler(void *v) { 134 134 135 135 if(cfg->regs->sts & GRASCS_STS_TCDONE) { … … 272 272 273 273 /* Register interrupt routine */ 274 set_vector(ASCS_irqhandler,irq+0x10,2); 274 rtems_interrupt_handler_install(irq, "grascs", 275 RTEMS_INTERRUPT_SHARED, 276 ASCS_irqhandler, NULL); 275 277 276 278 return 0; -
bsps/shared/grlib/can/satcan.c
r411c297 r5981c8ca 153 153 } 154 154 155 static rtems_isr satcan_interrupt_handler( rtems_vector_numberv)155 static rtems_isr satcan_interrupt_handler(void *v) 156 156 { 157 157 unsigned int irq; … … 666 666 667 667 /* Register interrupt handler */ 668 set_vector(satcan_interrupt_handler, d.irq+0x10, 2); 668 rtems_interrupt_handler_install(d.irq, "satcan", 669 RTEMS_INTERRUPT_SHARED, 670 satcan_interrupt_handler, NULL); 669 671 670 672 return RTEMS_SUCCESSFUL; -
bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c
r411c297 r5981c8ca 189 189 ) 190 190 { 191 return BSP_shared_interrupt_register(irq, info, isr, arg); 191 return rtems_interrupt_handler_install(irq, info, 192 RTEMS_INTERRUPT_SHARED, isr, arg); 192 193 } 193 194 … … 200 201 ) 201 202 { 202 return BSP_shared_interrupt_unregister(irq, isr, arg);203 return rtems_interrupt_handler_remove(irq, isr, arg); 203 204 } 204 205 -
bsps/shared/grlib/slink/grslink.c
r411c297 r5981c8ca 237 237 * queue. 238 238 */ 239 static rtems_isr SLINK_interrupt_handler( rtems_vector_numberv)239 static rtems_isr SLINK_interrupt_handler(void *v) 240 240 { 241 241 unsigned int sts; … … 408 408 409 409 /* Set-up IRQ handling */ 410 set_vector(SLINK_interrupt_handler,irq+0x10,2); 410 rtems_interrupt_handler_install(irq, "slink", 411 RTEMS_INTERRUPT_SHARED, 412 SLINK_interrupt_handler, NULL); 411 413 412 414 return 0;
Note: See TracChangeset
for help on using the changeset viewer.