summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/qemuppc/startup/bsppanic.c
blob: 4a9827f6e41c4cb8392ad00f97f66c8a449c5d38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <rtems.h>
#include <rtems/bspIo.h>

void BSP_panic(char *s)
{
  printk("%s PANIC %s\n",_RTEMS_version, s);
  while(1){};
}

void _BSP_Fatal_error(unsigned int v)
{
  printk("%s PANIC ERROR %x\n",_RTEMS_version, v);
  while(1){};
}