From 274fa77780179280bf5809a0f45271186515ac43 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 28 Feb 2002 23:10:39 +0000 Subject: 2002-02-28 Mike Panetta * 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 --- c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c') 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 */ -- cgit v1.2.3