[U-Boot] [PATCH 04/10] bios_emulator: Don't display error when emulator terminates
Simon Glass
sjg at chromium.org
Tue Dec 30 03:32:25 CET 2014
As it turns out this is a normal condition, so suppress the error.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/bios_emulator/x86emu/ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bios_emulator/x86emu/ops.c b/drivers/bios_emulator/x86emu/ops.c
index 2bb5e2d..5752fee 100644
--- a/drivers/bios_emulator/x86emu/ops.c
+++ b/drivers/bios_emulator/x86emu/ops.c
@@ -179,7 +179,7 @@ void x86emuOp_illegal_op(
{
START_OF_INSTR();
if (M.x86.R_SP != 0) {
- ERR_PRINTF("ILLEGAL X86 OPCODE\n");
+ DB(printf("ILLEGAL X86 OPCODE\n"));
TRACE_REGS();
DB( printk("%04x:%04x: %02X ILLEGAL X86 OPCODE!\n",
M.x86.R_CS, M.x86.R_IP-1,op1));
--
2.2.0.rc0.207.ga3a616c
More information about the U-Boot
mailing list