From: Simon Glass Date: Mon, 29 Dec 2014 19:32:25 -0700 Subject: [U-Boot] [PATCH 04/10] bios_emulator: Don't display error when emulator terminates In-Reply-To: <1419906751-29776-1-git-send-email-sjg@chromium.org> References: <1419906751-29776-1-git-send-email-sjg@chromium.org> Message-ID: <1419906751-29776-5-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de As it turns out this is a normal condition, so suppress the error. Signed-off-by: Simon Glass --- 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