summaryrefslogtreecommitdiff
path: root/target-sparc/machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc/machine.c')
-rw-r--r--target-sparc/machine.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/target-sparc/machine.c b/target-sparc/machine.c
index 4984e8d886..3d196eedc9 100644
--- a/target-sparc/machine.c
+++ b/target-sparc/machine.c
@@ -52,10 +52,10 @@ void cpu_save(QEMUFile *f, void *opaque)
qemu_put_be64s(f, &env->dmmuregs[i]);
}
for (i = 0; i < 64; i++) {
- qemu_put_be64s(f, &env->itlb_tag[i]);
- qemu_put_be64s(f, &env->itlb_tte[i]);
- qemu_put_be64s(f, &env->dtlb_tag[i]);
- qemu_put_be64s(f, &env->dtlb_tte[i]);
+ qemu_put_be64s(f, &env->itlb[i].tag);
+ qemu_put_be64s(f, &env->itlb[i].tte);
+ qemu_put_be64s(f, &env->dtlb[i].tag);
+ qemu_put_be64s(f, &env->dtlb[i].tte);
}
qemu_put_be32s(f, &env->mmu_version);
for (i = 0; i < MAXTL_MAX; i++) {
@@ -148,10 +148,10 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
qemu_get_be64s(f, &env->dmmuregs[i]);
}
for (i = 0; i < 64; i++) {
- qemu_get_be64s(f, &env->itlb_tag[i]);
- qemu_get_be64s(f, &env->itlb_tte[i]);
- qemu_get_be64s(f, &env->dtlb_tag[i]);
- qemu_get_be64s(f, &env->dtlb_tte[i]);
+ qemu_get_be64s(f, &env->itlb[i].tag);
+ qemu_get_be64s(f, &env->itlb[i].tte);
+ qemu_get_be64s(f, &env->dtlb[i].tag);
+ qemu_get_be64s(f, &env->dtlb[i].tte);
}
qemu_get_be32s(f, &env->mmu_version);
for (i = 0; i < MAXTL_MAX; i++) {