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:
Lioncash 2019-04-18 08:43:10 -04:00
parent bf6dfeb175
commit ccf16bc572
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -781,7 +781,7 @@ void helper_be_st_name(CPUArchState *env, target_ulong addr, DATA_TYPE val,
entry2 = tlb_entry(env, mmu_idx, page2);
if (!tlb_hit_page(tlb_addr_write(entry2), 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);
}