mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-22 19:45:35 +00:00
softmmu_template: Fix invalid argument to tlb_fill in helper_be_st_name
This should be passing in the page2 value like in the little-endian handler.
This commit is contained in:
parent
bf6dfeb175
commit
ccf16bc572
|
@ -781,7 +781,7 @@ void helper_be_st_name(CPUArchState *env, target_ulong addr, DATA_TYPE val,
|
||||||
entry2 = tlb_entry(env, mmu_idx, page2);
|
entry2 = tlb_entry(env, mmu_idx, page2);
|
||||||
if (!tlb_hit_page(tlb_addr_write(entry2), page2)
|
if (!tlb_hit_page(tlb_addr_write(entry2), page2)
|
||||||
&& !VICTIM_TLB_HIT(addr_write, page2)) {
|
&& !VICTIM_TLB_HIT(addr_write, page2)) {
|
||||||
tlb_fill(ENV_GET_CPU(env), addr, DATA_SIZE, MMU_DATA_STORE,
|
tlb_fill(ENV_GET_CPU(env), page2, DATA_SIZE, MMU_DATA_STORE,
|
||||||
mmu_idx, retaddr);
|
mmu_idx, retaddr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue