source: rtems/bsps/powerpc/beatnik/start/bspclean.c

Last change on this file was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 20, 2018 at 8:35:35 AM

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 623 bytes
RevLine 
[b7a6d23a]1#include <bsp.h>
[3a1d9c6]2#include <bsp/bootcard.h>
[b7a6d23a]3#include <rtems/bspIo.h>
4
[a052181]5void bsp_fatal_extension(
6  rtems_fatal_source source,
[6a9282d]7  bool always_set_to_false,
[a052181]8  rtems_fatal_code error
[c4852431]9)
[b7a6d23a]10{
[696b5b1e]11  printk("fatal source: %s\n", rtems_fatal_source_text(source));
12
13  if (source == RTEMS_FATAL_SOURCE_EXCEPTION) {
14    rtems_exception_frame_print((const rtems_exception_frame *) error);
15  }
16
[b7a6d23a]17  /* We can't go back to MotLoad since we blew it's memory area
18   * and vectors. Just pull the reset line...
19   */
[c4852431]20  printk(
[a052181]21    "bsp_fatal_extension(): RTEMS terminated -- no way back to MotLoad "
[c4852431]22      "so I reset the card\n"
23  );
[b7a6d23a]24  bsp_reset();
25}
Note: See TracBrowser for help on using the repository browser.