aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/qemu.h
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/qemu.h
parent[MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. (diff)
downloadlinux-dev-c583122c26ad04bb2379933dc5acc8b9479d6c67.tar.xz
linux-dev-c583122c26ad04bb2379933dc5acc8b9479d6c67.zip
[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 '')
-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 905c39585903..531caf44560c 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 */