bsps/powerpc: Avoid recursion in exception handler

This commit is contained in:
Sebastian Huber
2016-03-29 08:11:29 +02:00
parent 3bbf40550c
commit ffa9cbfe72

View File

@@ -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 */
}
}
/*