1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <rtems.h> #include <rtems/bspIo.h> static void __outb(int port, unsigned char v) { *((volatile unsigned char *)(0x80000000 + port)) = v; } void _BSP_Fatal_error(unsigned int v) { printk("%s PANIC ERROR %x\n",_RTEMS_version, v); __outb (0x92, 0x01); }