summaryrefslogtreecommitdiffstats
path: root/target/sparc/machine.c
diff options
context:
space:
mode:
authorArtyom Tarasenko2016-02-09 12:07:48 +0100
committerArtyom Tarasenko2017-01-18 22:03:44 +0100
commit96df2bc99f9bdaf7a2f13550111f219b72b73708 (patch)
tree75ba7e0600ee74cee5e78670dacdf2ff3d57310e /target/sparc/machine.c
parenttarget-sparc: replace the last tlb entry when no free entries left (diff)
downloadqemu-96df2bc99f9bdaf7a2f13550111f219b72b73708.tar.gz
qemu-96df2bc99f9bdaf7a2f13550111f219b72b73708.tar.xz
qemu-96df2bc99f9bdaf7a2f13550111f219b72b73708.zip
target-sparc: use SparcV9MMU type for sparc64 I/D-MMUs
Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Diffstat (limited to 'target/sparc/machine.c')
-rw-r--r--target/sparc/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/sparc/machine.c b/target/sparc/machine.c
index aea6397861..39e262ccd1 100644
--- a/target/sparc/machine.c
+++ b/target/sparc/machine.c
@@ -148,8 +148,8 @@ const VMStateDescription vmstate_sparc_cpu = {
VMSTATE_UINT64_ARRAY(env.mmubpregs, SPARCCPU, 4),
#else
VMSTATE_UINT64(env.lsu, SPARCCPU),
- VMSTATE_UINT64_ARRAY(env.immuregs, SPARCCPU, 16),
- VMSTATE_UINT64_ARRAY(env.dmmuregs, SPARCCPU, 16),
+ VMSTATE_UINT64_ARRAY(env.immu.mmuregs, SPARCCPU, 16),
+ VMSTATE_UINT64_ARRAY(env.dmmu.mmuregs, SPARCCPU, 16),
VMSTATE_STRUCT_ARRAY(env.itlb, SPARCCPU, 64, 0,
vmstate_tlb_entry, SparcTLBEntry),
VMSTATE_STRUCT_ARRAY(env.dtlb, SPARCCPU, 64, 0,