mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target: Set disassemble_info::endian value for big-endian targets
Have the CPUClass::disas_set_info() callback set the disassemble_info::endian field for big-endian targets. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250210212931.62401-3-philmd@linaro.org>
This commit is contained in:
parent
b8b37affc7
commit
2136f7f1f9
5 changed files with 5 additions and 0 deletions
|
@ -157,6 +157,7 @@ static void m68k_cpu_reset_hold(Object *obj, ResetType type)
|
|||
static void m68k_cpu_disas_set_info(CPUState *s, disassemble_info *info)
|
||||
{
|
||||
info->print_insn = print_insn_m68k;
|
||||
info->endian = BFD_ENDIAN_BIG;
|
||||
info->mach = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue