summaryrefslogtreecommitdiff
path: root/include/hw/sh4
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-03-15 14:32:19 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-05-19 16:42:27 +0200
commitb4c1c6fc61721b8a7cb4e30b7780f17591aaaa17 (patch)
tree81c998a63295cb498ec2687b25bf79d93ae5b664 /include/hw/sh4
parent4669fcc7faee8c682a464e5618c5bc36de4f9f3c (diff)
downloadqemu-b4c1c6fc61721b8a7cb4e30b7780f17591aaaa17.zip
sh4: include cpu-qom.h in files that require SuperHCPU
This will keep things working when cpu.h will not be included indirectly almost everywhere (either directly or through qemu-common.h). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/sh4')
-rw-r--r--include/hw/sh4/sh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/sh4/sh.h b/include/hw/sh4/sh.h
index e61de9acc6..070312d921 100644
--- a/include/hw/sh4/sh.h
+++ b/include/hw/sh4/sh.h
@@ -3,6 +3,7 @@
/* Definitions for SH board emulation. */
#include "hw/sh4/sh_intc.h"
+#include "target-sh4/cpu-qom.h"
#define A7ADDR(x) ((x) & 0x1fffffff)
#define P4ADDR(x) ((x) | 0xe0000000)