diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-02-28 23:10:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-02-28 23:10:39 +0000 |
commit | 274fa77780179280bf5809a0f45271186515ac43 (patch) | |
tree | acb4cc15d8f8199481335a916faee1f29d1ebb45 /c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c | |
parent | 2002-02-28 Victor V. Vengerov <vvv@oktet.ru> (diff) | |
download | rtems-274fa77780179280bf5809a0f45271186515ac43.tar.bz2 |
2002-02-28 Mike Panetta <ahuitzot@mindspring.com>
* console/sci.c, console/sci.h,
console/console.c: Added new SCI driver.
* start/start.c: Removed file.
* start/start.S: New file, the asm portion of the updated start code.
* start/configure.am: Added start.S, removed start.c
* startup/start_c.c: New file, the C portion of the updated start code. Contains most of the code that was in the old start.c.
* startup/configure.am: Added start_c.c to C_FILES.
* include/bsp.h: Added include <rtems/bspIo.h>
Diffstat (limited to 'c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c b/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c index c296e5888a..7af1654554 100644 --- a/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c +++ b/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c @@ -33,7 +33,7 @@ rtems_isr Spurious_Isr( rtems_vector_number vector ) { - int sp = 0; + //int sp = 0; const char * const VectDescrip[] = { _Spurious_Error_[0], _Spurious_Error_[0], _Spurious_Error_[1], _Spurious_Error_[2], _Spurious_Error_[3], _Spurious_Error_[4], @@ -58,11 +58,11 @@ rtems_isr Spurious_Isr( _Spurious_Error_[27], _Spurious_Error_[27], _Spurious_Error_[27], _Spurious_Error_[27], _Spurious_Error_[28]}; - asm volatile ( "movea.l %%sp,%0 " : "=a" (sp) : "0" (sp) ); + //asm volatile ( "movea.l %%sp,%0 " : "=a" (sp) : "0" (sp) ); _CPU_ISR_Set_level( 7 ); - _UART_flush(); - + //_UART_flush(); +#if 0 RAW_PUTS("\n\rRTEMS: Spurious interrupt: "); RAW_PUTS((char *)VectDescrip[( (vector>64) ? 64 : vector )]); RAW_PUTS("\n\rRTEMS: Vector: "); @@ -70,7 +70,7 @@ rtems_isr Spurious_Isr( RAW_PUTS(" sp: "); RAW_PUTI(sp); RAW_PUTS("\n\r"); - +#endif bsp_cleanup(); /* BDM SIGEMT */ |