mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
cputlb: Change tlb_flush() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
31b030d4ab
commit
00c8cb0a36
41 changed files with 143 additions and 87 deletions
|
@ -416,7 +416,7 @@ static void sh7750_mem_writel(void *opaque, hwaddr addr,
|
|||
case SH7750_PTEH_A7:
|
||||
/* If asid changes, clear all registered tlb entries. */
|
||||
if ((s->cpu->env.pteh & 0xff) != (mem_value & 0xff)) {
|
||||
tlb_flush(&s->cpu->env, 1);
|
||||
tlb_flush(CPU(s->cpu), 1);
|
||||
}
|
||||
s->cpu->env.pteh = mem_value;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue