Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:57

0001 /* Copyright 2003, Shuchen Kate Feng <feng1@bnl.gov>,
0002  *                    NSLS,Brookhaven National Laboratory
0003  *
0004  */
0005 
0006 #include <bsp.h>
0007 #include <bsp/bootcard.h>
0008 #include <rtems/bspIo.h>
0009 #include <libcpu/io.h>
0010 #include <stdint.h>
0011 
0012 void bsp_reset( rtems_fatal_source source, rtems_fatal_code code )
0013 {
0014   (void) source;
0015   (void) code;
0016 
0017   /* Mvme5500 board reset : 2004 S. Kate Feng <feng1@bnl.gov>  */
0018   out_8((volatile uint8_t*) (GT64x60_DEV1_BASE +2), 0x80);
0019   RTEMS_UNREACHABLE();
0020 }