mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
cputlb: Change tlb_flush_page() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
0063ebd6ac
commit
31b030d4ab
18 changed files with 106 additions and 70 deletions
|
@ -1027,13 +1027,13 @@ void HELPER(ipte)(CPUS390XState *env, uint64_t pte_addr, uint64_t vaddr)
|
|||
|
||||
/* XXX we exploit the fact that Linux passes the exact virtual
|
||||
address here - it's not obliged to! */
|
||||
tlb_flush_page(env, page);
|
||||
tlb_flush_page(cs, page);
|
||||
|
||||
/* XXX 31-bit hack */
|
||||
if (page & 0x80000000) {
|
||||
tlb_flush_page(env, page & ~0x80000000);
|
||||
tlb_flush_page(cs, page & ~0x80000000);
|
||||
} else {
|
||||
tlb_flush_page(env, page | 0x80000000);
|
||||
tlb_flush_page(cs, page | 0x80000000);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue