Changeset a29909c in rtems


Ignore:
Timestamp:
May 7, 2012, 11:26:51 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
541c5ddc
Parents:
c424bb5
git-author:
Joel Sherrill <joel.sherrill@…> (05/07/12 23:26:51)
git-committer:
Joel Sherrill <joel.sherrill@…> (05/09/12 21:56:33)
Message:

libchip/serial - Only use set_vector() on Simple Vectored Architectures

Location:
c/src/libchip/serial
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/serial/mc68681.c

    rc424bb5 ra29909c  
    5656};
    5757
    58 extern void set_vector( rtems_isr_entry, rtems_vector_number, int );
     58
     59#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
     60  extern void set_vector( rtems_isr_entry, rtems_vector_number, int );
     61#endif
    5962
    6063/*
     
    433436  Console_Port_Data[minor].bActive = FALSE;
    434437
     438#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
    435439  set_vector(mc68681_isr, Console_Port_Tbl[minor]->ulIntVector, 1);
     440#endif
    436441
    437442  mc68681_enable_interrupts(minor,MC68681_IMR_ENABLE_ALL_EXCEPT_TX);
  • c/src/libchip/serial/z85c30.c

    rc424bb5 ra29909c  
    8181};
    8282
    83 extern void set_vector( rtems_isr_entry, rtems_vector_number, int );
     83#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
     84  extern void set_vector( rtems_isr_entry, rtems_vector_number, int );
     85#endif
    8486
    8587/*
     
    723725  }
    724726
     727#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
    725728  set_vector(z85c30_isr, Console_Port_Tbl[minor]->ulIntVector, 1);
     729#endif
    726730
    727731  z85c30_enable_interrupts(minor, SCC_ENABLE_ALL_INTR_EXCEPT_TX);
Note: See TracChangeset for help on using the changeset viewer.