Changeset 7d18fdc in rtems


Ignore:
Timestamp:
Dec 19, 2000, 4:56:42 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d4f0eef
Parents:
493fa93
Message:

2000-12-19 Joel Sherrill <joel@…>

  • tx39/vectorisrs/vectorisrs.c: Modified to have default exception vector handler. This should be in a separate file so the BSP can easily override it.
Location:
c/src/lib/libcpu/mips
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/mips/ChangeLog

    r493fa93 r7d18fdc  
     12000-12-19      Joel Sherrill <joel@OARcorp.com>
     2
     3        * tx39/vectorisrs/vectorisrs.c: Modified to have default exception
     4        vector handler.  This should be in a separate file so the BSP can
     5        easily override it.
     6
    172000-12-13      Joel Sherrill <joel@OARcorp.com>
    28
  • c/src/lib/libcpu/mips/tx39/vectorisrs/vectorisrs.c

    r493fa93 r7d18fdc  
    1313
    1414#define CALL_ISR(_vector) \
    15     (_ISR_Vector_table[_vector])(_vector);
     15  do { \
     16    if ( _ISR_Vector_table[_vector] ) \
     17      (_ISR_Vector_table[_vector])(_vector); \
     18    else \
     19      mips_default_exception(_vector); \
     20  } while (0)
     21
     22void mips_default_exception( int vector )
     23{
     24  printk( "Unhandled exception %d\n", vector );
     25  rtems_fatal_error_occurred(1);
     26}
    1627
    1728void mips_vector_isr_handlers( void )
Note: See TracChangeset for help on using the changeset viewer.