]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bios_emulator: Don't display error when emulator terminates
authorSimon Glass <sjg@chromium.org>
Tue, 30 Dec 2014 02:32:25 +0000 (19:32 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 24 Jan 2015 00:24:15 +0000 (17:24 -0700)
As it turns out this is a normal condition, so suppress the error.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/bios_emulator/x86emu/ops.c

index 2bb5e2d9d508112124275397cd48d41e3fc845fc..5752fee1cdac80369090fe0cc1cf8d58234a7866 100644 (file)
@@ -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));