aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/cpu.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-04-08 16:51:46 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-04-12 14:30:39 +0200
commit183543cdb68a0f2e1ff1c68d37338037dcc9d6c5 (patch)
treeb3f6678d5b22c7be09ae663442d251c433c17461 /target-moxie/cpu.h
parent93b48c201eb6c0404d15550a0eaa3c0f7937e35e (diff)
downloadqemu-183543cdb68a0f2e1ff1c68d37338037dcc9d6c5.zip
qemu-183543cdb68a0f2e1ff1c68d37338037dcc9d6c5.tar.gz
qemu-183543cdb68a0f2e1ff1c68d37338037dcc9d6c5.tar.bz2
target-moxie: Fix VMState registration
Register the CPU VMState in the correct way, via cpu_class_set_vmsd(), rather than doing it in two different wrong ways (once by providing cpu_save and cpu_load functions, and once by setting the vmsd field in DeviceClass). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'target-moxie/cpu.h')
-rw-r--r--target-moxie/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-moxie/cpu.h b/target-moxie/cpu.h
index 988729a..a9d9ace 100644
--- a/target-moxie/cpu.h
+++ b/target-moxie/cpu.h
@@ -28,8 +28,6 @@
#define TARGET_HAS_ICE 1
-#define CPU_SAVE_VERSION 1
-
#define ELF_MACHINE 0xFEED /* EM_MOXIE */
#define MOXIE_EX_DIV0 0