forked from Imagelibrary/rtems
2006-08-22 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: Add basic _BSP_Fatal_error.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user