summaryrefslogtreecommitdiff
path: root/target-s390x/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-04-02 11:39:23 +0200
committerAndreas Färber <afaerber@suse.de>2012-04-04 17:29:23 +0200
commit29e4bcb26b80f975920508c83a9f24f29eb6bc1a (patch)
tree1b2a133086a32ebcb1b54d0cfa967a74cda2aa7d /target-s390x/cpu.h
parentf05f6b4adb4db3affb0cdd17383b0a7e905e66e1 (diff)
downloadqemu-29e4bcb26b80f975920508c83a9f24f29eb6bc1a.tar.gz
target-s390x: QOM'ify CPU
Embed CPUS390XState as first member of S390CPU. Since -cpu is being ignored, make TYPE_S390_CPU non-abstract. Signed-off-by: Andreas Färber <afaerber@suse.de> Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-s390x/cpu.h')
-rw-r--r--target-s390x/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h
index ea849fca1e..c6ee959a38 100644
--- a/target-s390x/cpu.h
+++ b/target-s390x/cpu.h
@@ -991,4 +991,6 @@ static inline void cpu_pc_from_tb(CPUS390XState *env, TranslationBlock* tb)
env->psw.addr = tb->pc;
}
+#include "cpu-qom.h"
+
#endif