On 05/09/2018 02:39 AM, Michael Clark wrote: > gen methods should access state from DisasContext. Add misa > field to the DisasContext struct and remove CPURISCVState > argument from all gen methods. > > Cc: Palmer Dabbelt <pal...@sifive.com> > Cc: Sagar Karandikar <sag...@eecs.berkeley.edu> > Cc: Bastian Koppelmann <kbast...@mail.uni-paderborn.de> > Cc: Alistair Francis <alistair.fran...@wdc.com> > Cc: Emilio G. Cota <c...@braap.org> > Signed-off-by: Michael Clark <m...@sifive.com> > --- > target/riscv/translate.c | 74 > ++++++++++++++++++++++++++---------------------- > 1 file changed, 40 insertions(+), 34 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~