Changeset da59d43 in multiio


Ignore:
Timestamp:
Jun 10, 2009, 6:53:27 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
3dfdb9f
Parents:
2fc4157
Message:

2009-06-10 Joel Sherrill <joel.sherrill@…>

  • mio_io_rtems.c: Initial interrupt support added. Should now be on functional parity with Linux driver but not debugged.
Location:
pcmmio/original
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pcmmio/original/ChangeLog

    r2fc4157 rda59d43  
     12009-06-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * mio_io_rtems.c: Initial interrupt support added. Should now be on
     4        functional parity with Linux driver but not debugged.
     5
    162009-06-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • pcmmio/original/mio_io_rtems.c

    r2fc4157 rda59d43  
    447447
    448448/*
     449 *  RTEMS specific interrupt handler
     450 */
     451#include <bsp/irq.h>
     452
     453void common_handler(void);
     454
     455void pcmmio_interrupt_handler(
     456  rtems_irq_hdl_param param
     457)
     458{
     459}
     460
     461rtems_irq_connect_data pcmmio_irq = {
     462  0,                            // name
     463  pcmmio_interrupt_handler,     // handler
     464  NULL,                         // parameter
     465  NULL,                         // enable IRQ
     466  NULL,                         // disable IRQ
     467  NULL,                         // is IRQ enabled
     468};
     469
     470/*
    449471 * RTEMS specific initialization routine
    450472 */
     
    463485  pcmmio_barrier_create( rtems_build_name( 'd', 'a', 'c', '2' ), &wq_dac_2 );
    464486  pcmmio_barrier_create( rtems_build_name( 'd', 'i', 'o', ' ' ), &wq_dio );
     487
     488  /* install IRQ handler */
     489  if ( irq ) {
     490    pcmmio_irq.name = irq;
     491    BSP_install_rtems_irq_handler( &pcmmio_irq );
     492  }
    465493}
    466494
     
    687715  return 0;
    688716}
    689 
    690 
    691 
    692 
    693 
Note: See TracChangeset for help on using the changeset viewer.