Changeset b9ff10f3 in rtems


Ignore:
Timestamp:
Aug 6, 2009, 4:00:27 AM (10 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
04a62dce
Parents:
945884fe
Message:

2009-08-06 Chris Johns <chrisj@…>

  • src/rtemsInterrupt.cc: Fixed the code to compile on targets with CPU_SIMPLE_VECTORED_INTERRUPTS defined to true.
Location:
c/src/librtems++
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/librtems++/ChangeLog

    r945884fe rb9ff10f3  
     12009-08-06      Chris Johns <chrisj@rtems.org>
     2
     3        * src/rtemsInterrupt.cc: Fixed the code to compile on targets with
     4        CPU_SIMPLE_VECTORED_INTERRUPTS defined to true.
     5
    162008-12-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/librtems++/src/rtemsInterrupt.cc

    r945884fe rb9ff10f3  
    7676  vector = vec;
    7777 
     78#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
    7879  set_status_code(rtems_interrupt_catch(redirector,
    7980                                        vector,
    8081                                        &old_handler));
    81 
     82#else
     83  set_status_code(RTEMS_NOT_DEFINED);
     84#endif
    8285  if (successful())
    8386    caught = true;
     
    97100  if (caught)
    98101  {
     102#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
    99103    set_status_code(rtems_interrupt_catch(old_handler,
    100104                                          vector,
    101105                                          &old_handler));
    102 
     106#else
     107  set_status_code(RTEMS_NOT_DEFINED);
     108#endif
    103109    interrupt_table[vector] = old_interrupt;
    104110    old_interrupt = 0;
Note: See TracChangeset for help on using the changeset viewer.