summaryrefslogtreecommitdiff
path: root/linux-user
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
commit696c53355670ad3fffdae83e7167df056b80e81e (patch)
tree5295d73c8dc5ce40ca931b97912b8ace7c7feda5 /linux-user
parente52ee748b84f50f64779ad5c2a6b3a53ef12e1f4 (diff)
downloadqemu-696c53355670ad3fffdae83e7167df056b80e81e.tar.gz
qemu-696c53355670ad3fffdae83e7167df056b80e81e.tar.bz2
qemu-696c53355670ad3fffdae83e7167df056b80e81e.zip
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 'linux-user')
-rw-r--r--linux-user/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index bcc36f256b..67336d71ff 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -1849,7 +1849,7 @@ static int do_store_exclusive(CPUMIPSState *env)
int reg;
int d;
- addr = env->CP0_LLAddr;
+ addr = env->lladdr;
page_addr = addr & TARGET_PAGE_MASK;
start_exclusive();
mmap_lock();
@@ -1879,7 +1879,7 @@ static int do_store_exclusive(CPUMIPSState *env)
}
}
}
- env->CP0_LLAddr = -1;
+ env->lladdr = -1;
if (!segv) {
env->active_tc.PC += 4;
}