mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-21 20:02:29 -07:00
When update_pagemask was split from helper_mtc0_pagemask,
we failed to actually write to the new parameter but continue
to write to env->CP0_PageMask. Thus the use within
page_table_walk_refill modifies cpu state and not the local
variable as expected.
Simplify by renaming to compute_pagemask and returning the
value directly. No need for either env or pointer return.
Fixes:
|
||
|---|---|---|
| .. | ||
| cp0_helper.c | ||
| lcsr_helper.c | ||
| meson.build | ||
| mips-semi.c | ||
| semihosting-stub.c | ||
| special_helper.c | ||
| tlb_helper.c | ||