aboutsummaryrefslogtreecommitdiff
path: root/target-mips/machine.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2009-11-22 13:08:14 +0100
committerAurelien Jarno <aurelien@aurel32.net>2009-11-22 14:12:13 +0100
commit5499b6ffac490a3a44dcb97e9cebb99f0151d696 (patch)
tree5295d73c8dc5ce40ca931b97912b8ace7c7feda5 /target-mips/machine.c
parentdd4239d6574ca41c94fc0d0f77ddc728510ffc57 (diff)
target-mips: rename CP0_LLAddr into lladdr
The variable CP0_LLAddr represent the full lladdr, not the actual register value, which is only part of this value and depends on the CPU. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips/machine.c')
-rw-r--r--target-mips/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/machine.c b/target-mips/machine.c
index 4519319887..9ffac711ce 100644
--- a/target-mips/machine.c
+++ b/target-mips/machine.c
@@ -127,7 +127,7 @@ void cpu_save(QEMUFile *f, void *opaque)
qemu_put_sbe32s(f, &env->CP0_Config3);
qemu_put_sbe32s(f, &env->CP0_Config6);
qemu_put_sbe32s(f, &env->CP0_Config7);
- qemu_put_betls(f, &env->CP0_LLAddr);
+ qemu_put_betls(f, &env->lladdr);
for(i = 0; i < 8; i++)
qemu_put_betls(f, &env->CP0_WatchLo[i]);
for(i = 0; i < 8; i++)
@@ -279,7 +279,7 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
qemu_get_sbe32s(f, &env->CP0_Config3);
qemu_get_sbe32s(f, &env->CP0_Config6);
qemu_get_sbe32s(f, &env->CP0_Config7);
- qemu_get_betls(f, &env->CP0_LLAddr);
+ qemu_get_betls(f, &env->lladdr);
for(i = 0; i < 8; i++)
qemu_get_betls(f, &env->CP0_WatchLo[i]);
for(i = 0; i < 8; i++)