diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-22 21:50:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-22 21:50:54 +0000 |
commit | 54cf1198e320e1a67efe501efed98290d24b582d (patch) | |
tree | 566dc713aae7891cdb70ecf2ab812ad049a17efc /c/src/lib/libbsp/shared/include/bootcard.h | |
parent | 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-54cf1198e320e1a67efe501efed98290d24b582d.tar.bz2 |
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* bspclean.c, include/bootcard.h: 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.
* bspreset.c, bspreset_fatal.c, bspreset_loop.c: New files.
Diffstat (limited to 'c/src/lib/libbsp/shared/include/bootcard.h')
-rw-r--r-- | c/src/lib/libbsp/shared/include/bootcard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/include/bootcard.h b/c/src/lib/libbsp/shared/include/bootcard.h index 7960005382..15db611de6 100644 --- a/c/src/lib/libbsp/shared/include/bootcard.h +++ b/c/src/lib/libbsp/shared/include/bootcard.h @@ -46,6 +46,8 @@ void bsp_postdriver_hook(void); void bsp_cleanup(void); +void bsp_reset(void); + #ifdef BSP_BOOTCARD_HANDLES_RAM_ALLOCATION #define BSP_BOOTCARD_HEAP_USES_WORK_AREA NULL |