diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-12-03 16:56:50 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-12-03 16:56:50 +0000 |
commit | b7a6d23a0d8d855fe92d573658405e1eedc2356b (patch) | |
tree | 71efd676a12343e1268e25c9214f44312e8d554e /c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c |
- importing 'beatnik' BSP from SLAC repository.R_beatnik_import_1_0_from_SLACB_beatnik_import_from_SLAC
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(); +} |