[U-Boot] [PATCH 17/19] bios_emulator: Always print errors when opcode decode fails

Simon Glass sjg at chromium.org
Tue Nov 25 22:50:21 CET 2014


On 14 November 2014 at 20:56, Simon Glass <sjg at chromium.org> wrote:
> This is a rare event and should not happen. When it does it is confusing to
> work out why. At least we should print a message.
>
> Adjust the emulator to always print decode errors to the console.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/bios_emulator/include/x86emu/debug.h |  6 +++++-
>  drivers/bios_emulator/x86emu/ops.c           | 30 ++++++++++++++--------------
>  drivers/bios_emulator/x86emu/ops2.c          |  4 ++--
>  3 files changed, 22 insertions(+), 18 deletions(-)

Applied to u-boot-x86.


More information about the U-Boot mailing list