target/microblaze: Put MicroBlazeCPUConfig into DisasContext
commit4b8936310b70056a8702f3b6b2b30f5aa72f887d
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 4 Sep 2020 18:49:13 +0000 (4 11:49 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 7 Sep 2020 19:58:08 +0000 (7 12:58 -0700)
treee279cdbf04863537e25ac0ae9305ea4dc66bd113
parent77f63e1dadb38bd0d4540c8bbf53156ecffa59a7
target/microblaze: Put MicroBlazeCPUConfig into DisasContext

The bulk of the translator should not have access to the
complete cpu state, to avoid the temptation to examine bits
that are in run time, but not translation time context.

We do need access to the constant cpu configuration, and
that is sufficient, so put that into DisasContext.

Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/microblaze/translate.c