Ignore:
Timestamp:
12/19/00 16:56:42 (22 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.