summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
blob: 0f4121d6d230ae18b294d5d58adeb4f1dd44f577 (plain) (tree)
1
2
3
4
5
6
7
8
9
                
                         

                        

                            
                           
                        
 



                                                               
         
                                                                        

                             

              
#include <bsp.h>
#include <bsp/bootcard.h>
#include <rtems/bspIo.h>

void bsp_fatal_extension(
  rtems_fatal_source source,
  bool always_set_to_false,
  rtems_fatal_code error
)
{
  /* We can't go back to MotLoad since we blew it's memory area
   * and vectors. Just pull the reset line...
   */
  printk(
    "bsp_fatal_extension(): RTEMS terminated -- no way back to MotLoad "
      "so I reset the card\n"
  );
  bsp_reset();
}