]> git.proxmox.com Git - mirror_qemu.git/commit
target/riscv: convert to DisasContextBase
authorEmilio G. Cota <cota@braap.org>
Tue, 13 Feb 2018 23:28:36 +0000 (18:28 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 9 May 2018 17:12:21 +0000 (10:12 -0700)
commit0114db1c827919f22bfd86006e787fafb9d6256b
tree16734db82f28da9bfcf67ac20c02179abee1d7d6
parentb2e32021e73349db1b2925e994b7bc4d238f5315
target/riscv: convert to DisasContextBase

Notes:

- Did not convert {num,max}_insns, since the corresponding code
  will go away in the next patch.

- ctx->pc becomes ctx->base.pc_next, and ctx->next_pc becomes
  ctx->pc_succ_insn.

While at it, convert the remaining tb->cflags readers to tb_cflags().

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Cc: Michael Clark <mjc@sifive.com>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/riscv/translate.c