File indexing completed on 2025-05-11 08:23:54
0001 #include <bsp.h>
0002 #include <rtems/bspIo.h>
0003 #include <libcpu/stackTrace.h>
0004 #include <bsp/bootcard.h>
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 void bsp_reset( rtems_fatal_source source, rtems_fatal_code code )
0015 {
0016 (void) source;
0017 (void) code;
0018
0019 printk("Printing a stack trace for your convenience :-)\n");
0020 CPU_print_stack();
0021
0022
0023 #if defined(mot_ppc_mvme2100)
0024 *(unsigned char*)0xffe00000 |= 0x80;
0025 #else
0026
0027
0028
0029 outb(1, 0x92);
0030
0031 #endif
0032 RTEMS_UNREACHABLE();
0033 }