diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-22 21:50:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-22 21:50:31 +0000 |
commit | 788870e168b06a612fbcbed7d2464cb7a3443ea8 (patch) | |
tree | cb4e2488c8ec3ac44e2e7966f04fb59e8cd03853 /c/src/lib/libbsp/powerpc/shared/console/inch.c | |
parent | 2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-788870e168b06a612fbcbed7d2464cb7a3443ea8.tar.bz2 |
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/console/inch.c, shared/startup/panic.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.
* shared/console/bspreset.c: New file.
* shared/console/reboot.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/console/inch.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/console/inch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/console/inch.c b/c/src/lib/libbsp/powerpc/shared/console/inch.c index f9a2bffdd1..a6e36effd0 100644 --- a/c/src/lib/libbsp/powerpc/shared/console/inch.c +++ b/c/src/lib/libbsp/powerpc/shared/console/inch.c @@ -20,6 +20,7 @@ */ #include <bsp.h> +#include <bsp/bootcard.h> #ifdef BSP_KBD_IOBASE #include <bsp/irq.h> @@ -154,7 +155,7 @@ _IBMPC_scankey(char *outChar) case 0x53: if (ctrl_pressed && alt_pressed) - rtemsReboot(); /* ctrl+alt+del -> reboot */ + bsp_reset(); /* ctrl+alt+del -> reboot */ break; /* |