]> git.proxmox.com Git - qemu.git/blobdiff - target-sparc/machine.c
Merge branch 'memory-ioport' of git://github.com/afaerber/qemu-cpu
[qemu.git] / target-sparc / machine.c
index 235b088a45a6ae7b70b5c04ae0267c8b0caaacbe..eb4d87f1589c137d9f43ed2b09666ddf0ae52fb2 100644 (file)
@@ -6,7 +6,7 @@
 
 void cpu_save(QEMUFile *f, void *opaque)
 {
-    CPUState *env = opaque;
+    CPUSPARCState *env = opaque;
     int i;
     uint32_t tmp;
 
@@ -111,7 +111,7 @@ void cpu_save(QEMUFile *f, void *opaque)
 
 int cpu_load(QEMUFile *f, void *opaque, int version_id)
 {
-    CPUState *env = opaque;
+    CPUSPARCState *env = opaque;
     int i;
     uint32_t tmp;