2006-08-22 Joel Sherrill <joel@OARcorp.com>

* startup/bspstart.c: Add basic _BSP_Fatal_error.
This commit is contained in:
Joel Sherrill
2006-08-22 17:21:14 +00:00
parent d867214daa
commit 25c5370021
4 changed files with 28 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
2006-08-22 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: Add basic _BSP_Fatal_error.
2006-08-09 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Clean up a bit after adding missing .rela sections.

View File

@@ -190,3 +190,13 @@ void bsp_start( void )
Cpu_table.timer_least_valid = 3;
Cpu_table.exceptions_in_RAM = TRUE;
}
/*
* Fatal error helper
*/
void _BSP_Fatal_error(unsigned int v)
{
/* This BSP does not yet support printk */
/* printk("%s PANIC ERROR %x\n",_RTEMS_version, v); */
__asm__ __volatile ("sc");
}

View File

@@ -1,3 +1,7 @@
2006-08-22 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: Add basic _BSP_Fatal_error.
2006-08-09 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Clean up a bit after adding missing .rela sections.

View File

@@ -178,3 +178,13 @@ void bsp_start( void )
Cpu_table.timer_least_valid = 3;
Cpu_table.exceptions_in_RAM = TRUE;
}
/*
* Fatal error helper
*/
void _BSP_Fatal_error(unsigned int v)
{
/* This BSP does not yet support printk */
/* printk("%s PANIC ERROR %x\n",_RTEMS_version, v); */
__asm__ __volatile ("sc");
}