On 10/01/2016 05:05 AM, Artyom Tarasenko wrote:
Use explicit register pointers while accessing D/I-MMU registers. Trap on access to missing registers.
... unless the mmu is disabled; see patch 1. ;-)
Signed-off-by: Artyom Tarasenko <atar4q...@gmail.com> --- target-sparc/cpu.h | 4 +++ target-sparc/ldst_helper.c | 66 +++++++++++++++++++++++++++++++++++++--------- 2 files changed, 58 insertions(+), 12 deletions(-)
Otherwise, Reviewed-by: Richard Henderson <r...@twiddle.net> r~