summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/qemu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/qemu.h')
-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