mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
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:
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#include <bsp.h>
|
||||
|
||||
void
|
||||
rtemsReboot()
|
||||
bsp_reset()
|
||||
{
|
||||
uint8_t v;
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user