summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-05-15 18:59:34 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 17:39:19 +0100
commitc583122c26ad04bb2379933dc5acc8b9479d6c67 (patch)
tree8afc9153e18b300ab93ff6a675e0c0f6e464c518 /include/asm-mips
parenteae89076e696f51762d81d6e2538c3beb59fa7bd (diff)
downloadop-kernel-dev-c583122c26ad04bb2379933dc5acc8b9479d6c67.zip
op-kernel-dev-c583122c26ad04bb2379933dc5acc8b9479d6c67.tar.gz
[MIPS] Qemu system shutdown support
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/qemu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-mips/qemu.h b/include/asm-mips/qemu.h
index 905c395..531caf4 100644
--- a/include/asm-mips/qemu.h
+++ b/include/asm-mips/qemu.h
@@ -21,4 +21,10 @@
*/
#define QEMU_C0_COUNTER_CLOCK 100000000
+/*
+ * Magic qemu system control location.
+ */
+#define QEMU_RESTART_REG 0xBFBF0000
+#define QEMU_HALT_REG 0xBFBF0004
+
#endif /* __ASM_QEMU_H */
OpenPOWER on IntegriCloud