Reset card on RTEMS shutdown.

This commit is contained in:
Eric Norum
2008-10-23 13:45:55 +00:00
parent daad59a453
commit 83e392b463
16 changed files with 35 additions and 21 deletions

View File

@@ -5,13 +5,13 @@
#include <libcpu/stackTrace.h>
/*-------------------------------------------------------------------------+
| Function: rtemsReboot
| Function: bsp_reset
| Description: Reboot the PC.
| Global Variables: None.
| Arguments: None.
| Returns: Nothing.
+--------------------------------------------------------------------------*/
void rtemsReboot(void)
void bsp_reset(void)
{
printk("Printing a stack trace for your convenience :-)\n");
CPU_print_stack();
@@ -22,4 +22,4 @@ void rtemsReboot(void)
#if defined(mvme2100)
*(unsigned char*)0xffe00000 |= 0x80;
#endif
} /* rtemsReboot */
} /* bsp_reset */