2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>

* startup/spurious.c: Fix typo from previous commit.
This commit is contained in:
Joel Sherrill
2007-05-11 21:14:52 +00:00
parent e5330c1621
commit 2f9e237f71
2 changed files with 8 additions and 18 deletions

View File

@@ -1,3 +1,7 @@
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/spurious.c: Fix typo from previous commit.
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com> 2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/debugputs.c, include/bsp.h, leon_smc91111/leon_smc91111.c, * console/debugputs.c, include/bsp.h, leon_smc91111/leon_smc91111.c,

View File

@@ -21,20 +21,7 @@
#include <bsp.h> #include <bsp.h>
#include <string.h> #include <rtems/bspIo.h>
static const char digits[16] = "0123456789abcdef";
/* Simple integer-to-string conversion */
void itos(uint32_t u, char *s)
{
int i;
for (i=0; i<8; i++) {
s[i] = digits[(u >> (28 - (i*4))) & 0x0f];
}
}
/* /*
* bsp_spurious_handler * bsp_spurious_handler
@@ -47,7 +34,6 @@ rtems_isr bsp_spurious_handler(
CPU_Interrupt_frame *isf CPU_Interrupt_frame *isf
) )
{ {
char line[ 80 ];
uint32_t real_trap; uint32_t real_trap;
real_trap = SPARC_REAL_TRAP_NUMBER(trap); real_trap = SPARC_REAL_TRAP_NUMBER(trap);
@@ -82,9 +68,9 @@ rtems_isr bsp_spurious_handler(
printk( "fp exception\n" ); printk( "fp exception\n" );
break; break;
case 0x09: case 0x09:
printk( "Unexpected trap (0x%2d) at address 0x%08x\n", printk( "Unexpected trap (0x%2d) at address XXX\n",
real_trap, real_trap
abcdef01 /* XXX FIXME isf->tpc */ XXX FIXME isf->tpc */
); );
break; break;
case 0x0A: case 0x0A: