patch-2.2.11 linux/arch/mips/dec/reset.c
Next file: linux/arch/mips/dec/rtc-dec.c
Previous file: linux/arch/mips/dec/promcon.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Aug 9 12:04:38 1999
- Orig file:
v2.2.10/linux/arch/mips/dec/reset.c
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.2.10/linux/arch/mips/dec/reset.c linux/arch/mips/dec/reset.c
@@ -0,0 +1,25 @@
+/*
+ * $Id: reset.c,v 1.4 1999/04/11 17:06:16 harald Exp $
+ *
+ * Reset a DECstation machine.
+ *
+ */
+
+void (*back_to_prom)(void) = (void (*)(void))0xBFC00000;
+
+void dec_machine_restart(char *command)
+{
+ back_to_prom();
+}
+
+void dec_machine_halt(void)
+{
+ back_to_prom();
+}
+
+void dec_machine_power_off(void)
+{
+ /* DECstations don't have a software power switch */
+ back_to_prom();
+}
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)