forked from Imagelibrary/rtems
bsps/powerpc: Avoid recursion in exception handler
This commit is contained in:
@@ -93,7 +93,10 @@ void BSP_panic(char *s)
|
||||
void _BSP_Fatal_error(unsigned int v)
|
||||
{
|
||||
printk("%s PANIC ERROR %x\n",_RTEMS_version, v);
|
||||
__asm__ __volatile ("sc");
|
||||
|
||||
while (true) {
|
||||
/* Do nothing */
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user