summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/console/reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/console/reboot.c')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/console/reboot.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/console/reboot.c b/c/src/lib/libbsp/powerpc/shared/console/reboot.c
new file mode 100644
index 0000000000..a6e10db647
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/shared/console/reboot.c
@@ -0,0 +1,16 @@
+/* $Id$ */
+
+#include "console.inl"
+
+/*-------------------------------------------------------------------------+
+| Function: rtemsReboot
+| Description: Reboot the PC.
+| Global Variables: None.
+| Arguments: None.
+| Returns: Nothing.
++--------------------------------------------------------------------------*/
+void rtemsReboot(void)
+{
+ /* shutdown and reboot */
+ kbd_outb(0x4, 0xFE); /* use keyboard controler to do the job... */
+} /* rtemsReboot */