[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [V2 PATCH 1/2] monitor: QEMU Monitor Instruc
From: |
Peter Maydell |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [V2 PATCH 1/2] monitor: QEMU Monitor Instruction Disassembly Incorrect for PowerPC LE Mode |
Date: |
Mon, 7 Apr 2014 22:27:54 +0100 |
On 7 April 2014 22:15, Tom Musta <address@hidden> wrote:
>
> +/*
> + * Disassembler for the monitor. 'flags' has the following values:
> + * i386 - 1 means 16 bit code, 2 means 64 bit code.
> + * ppc - bits 0:15 specify (optionally) the machine instruction set;
> + * bit 16 indicates little endian.
> + * others - unused
> + */
> void monitor_disas(Monitor *mon, CPUArchState *env,
> target_ulong pc, int nb_insn, int is_physical, int flags)
I think it would be better to (1) fix the target_disas() comment so it
is correct and (2) just say here that the flags word has the same
meaning as for target_disas().
[I should probably fix the ARM monitor_disas flag handling...]
thanks
-- PMM