]> git.dujemihanovic.xyz Git - u-boot.git/commit
bios_emulator: Always print errors when opcode decode fails
authorSimon Glass <sjg@chromium.org>
Sat, 15 Nov 2014 03:56:43 +0000 (20:56 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Nov 2014 14:11:17 +0000 (07:11 -0700)
commit8c6ec412b450ad790fc373674a34313c8f6e3f6e
tree882cbd362c562a41f3eb689a6a45b3d95e19a69c
parentb3521f2e495c8cd91226af9b34f2d7ef5a24c665
bios_emulator: Always print errors when opcode decode fails

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@chromium.org>
drivers/bios_emulator/include/x86emu/debug.h
drivers/bios_emulator/x86emu/ops.c
drivers/bios_emulator/x86emu/ops2.c