Ignore:
Timestamp:
Jun 29, 2000, 4:27:47 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
847ed4bd
Parents:
9b6d173
Message:

Patch from Eric Valette to do some cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/vectors/vectors_init.c

    r9b6d173 ref99210e  
    6666  printk("\t LR = %x\n", excPtr->EXC_LR);
    6767  printk("\t MSR = %x\n", excPtr->EXC_MSR);
    68   if ( (excPtr->_EXC_number == ASM_DEC_VECTOR) ||
    69        (excPtr->_EXC_number == ASM_SYS_VECTOR)
    70      )
     68  if (excPtr->_EXC_number == ASM_DEC_VECTOR)
    7169       recoverable = 1;
    72   if (!recoverable) BSP_panic("unrecoverable exception!!! Push reset button\n");
     70  if (excPtr->_EXC_number == ASM_SYS_VECTOR)
     71#ifdef TEST_RAW_EXCEPTION_CODE     
     72    recoverable = 1;
     73#else
     74    recoverable = 0;
     75#endif
     76    if (!recoverable) {
     77      printk("unrecoverable exception!!! Push reset button\n");
     78      while(1);
     79    }
    7380}
    7481
Note: See TracChangeset for help on using the changeset viewer.