summary refs log tree commit diff stats
path: root/include/hw/qdev-properties.h
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-02-15 20:52:07 -0500
committerRichard Henderson <richard.henderson@linaro.org>2018-05-09 10:12:21 -0700
commit18f440edfb974feaff8490d4861844b5a2b7a3b5 (patch)
tree3aed9bb5768a1c24912100804d3eb99b452fa7b6 /include/hw/qdev-properties.h
parent12be92588cf26a192f1b62846906983fc1e102a7 (diff)
downloadfocaccia-qemu-18f440edfb974feaff8490d4861844b5a2b7a3b5.tar.gz
focaccia-qemu-18f440edfb974feaff8490d4861844b5a2b7a3b5.zip
target/mips: convert to TranslatorOps
Notes:

- DISAS_TOO_MANY replaces the former "break" in the translation loop.
  However, care must be taken not to overwrite a previous condition
  in is_jmp; that's why in translate_insn we first check is_jmp and
  return if it's != DISAS_NEXT.

- Added an assert in translate_insn, before exiting due to an exception,
  to make sure that is_jmp is set to DISAS_NORETURN (the exception
  generation function always sets it.)

- Added an assert for the default case in is_jmp's switch.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Yongbok Kim <yongbok.kim@mips.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/hw/qdev-properties.h')
0 files changed, 0 insertions, 0 deletions