2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>

* include/bsp.h, startup/misc.c: Use standardized bsp_cleanup() which
	can optionally print a message, poll for user to press key, and call
	bsp_reset(). Using this eliminates the various bsp_cleanup()
	implementations which had their own implementation and variety of
	string constants.
This commit is contained in:
Joel Sherrill
2008-09-22 21:50:23 +00:00
parent ddfaa29626
commit be10c5e4b9
3 changed files with 9 additions and 7 deletions

View File

@@ -1,3 +1,11 @@
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h, startup/misc.c: Use standardized bsp_cleanup() which
can optionally print a message, poll for user to press key, and call
bsp_reset(). Using this eliminates the various bsp_cleanup()
implementations which had their own implementation and variety of
string constants.
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, include/bsp.h, include/bspopts.h.in,

View File

@@ -173,11 +173,6 @@ extern "C" {
int
BSP_i2c_initialize();
/* Misc utility definitions and routines */
void
rtemsReboot();
/* System Control Register */
#define BSP_MVME3100_SYS_CR ((volatile uint8_t *)0xe2000001)
#define BSP_MVME3100_SYS_CR_RESET_MSK (7<<5)
@@ -298,7 +293,6 @@ extern char *BSP_commandline_string;
extern rtems_configuration_table BSP_Configuration;
extern void BSP_panic(char *s);
extern void rtemsReboot(void);
/* extern int printk(const char *, ...) __attribute__((format(printf, 1, 2))); */
extern int BSP_disconnect_clock_handler (void);
extern int BSP_connect_clock_handler (void);

View File

@@ -52,7 +52,7 @@
#include <bsp.h>
void
rtemsReboot()
bsp_reset()
{
uint8_t v;
/*