diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c b/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c new file mode 100644 index 0000000000..746a48fbde --- /dev/null +++ b/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c @@ -0,0 +1,11 @@ +#include <bsp.h> +#include <rtems/bspIo.h> + +void bsp_cleanup(void) +{ + /* We can't go back to MotLoad since we blew it's memory area + * and vectors. Just pull the reset line... + */ + printk("bsp_cleanup(): RTEMS terminated -- no way back to MotLoad so I reset the card\n"); + bsp_reset(); +} |