OSDN Git Service

target/nios2: Split mmu_write
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 26 Feb 2022 11:27:32 +0000 (01:27 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 3 Mar 2022 19:37:47 +0000 (09:37 -1000)
commit304c05df7c3e383133a70e20d7b5121d75ae4190
tree3343eff2f64381f081d8c00b80c8e6fd23cd4ed1
parent0b6e8f5b234181198f4864f201bef13842987525
target/nios2: Split mmu_write

Create three separate functions for the three separate registers.
Avoid extra dispatch through op_helper.c.
Dispatch to the correct function in translation.
Clean up the ifdefs in wrctl.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/nios2/helper.h
target/nios2/mmu.c
target/nios2/op_helper.c
target/nios2/translate.c