mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
dd4239d657
commit
5499b6ffac
5 changed files with 18 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue