aboutsummaryrefslogtreecommitdiff
path: root/src/device/oprom/x86emu
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-08-21 18:21:59 +0200
committerMartin Roth <martinroth@google.com>2016-08-28 18:26:52 +0200
commita1ac10fc8518938035c8384163bb05257513f0e6 (patch)
tree9c4db5937b2b31a6152eee7ca8db2b5299c1e841 /src/device/oprom/x86emu
parent70d79a454676b551f3bc2059217179e31905ee5c (diff)
src/device: Remove unnecessary whitespace before newline
Change-Id: I3536a99a1a6fd2bc7b10777654c1937b92e8eacd Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16288 Tested-by: build bot (Jenkins) Reviewed-by: Omar Pakker
Diffstat (limited to 'src/device/oprom/x86emu')
-rw-r--r--src/device/oprom/x86emu/debug.c2
-rw-r--r--src/device/oprom/x86emu/ops.c6
-rw-r--r--src/device/oprom/x86emu/sys.c12
3 files changed, 10 insertions, 10 deletions
diff --git a/src/device/oprom/x86emu/debug.c b/src/device/oprom/x86emu/debug.c
index bc249a996c..9e216e9df6 100644
--- a/src/device/oprom/x86emu/debug.c
+++ b/src/device/oprom/x86emu/debug.c
@@ -400,7 +400,7 @@ void x86emu_dump_xregs (void)
printf("\tEAX=%08x ", M.x86.R_EAX );
printf("EBX=%08x ", M.x86.R_EBX );
printf("ECX=%08x ", M.x86.R_ECX );
- printf("EDX=%08x \n", M.x86.R_EDX );
+ printf("EDX=%08x\n", M.x86.R_EDX );
printf("\tESP=%08x ", M.x86.R_ESP );
printf("EBP=%08x ", M.x86.R_EBP );
printf("ESI=%08x ", M.x86.R_ESI );
diff --git a/src/device/oprom/x86emu/ops.c b/src/device/oprom/x86emu/ops.c
index c805b58c42..803e0c6728 100644
--- a/src/device/oprom/x86emu/ops.c
+++ b/src/device/oprom/x86emu/ops.c
@@ -4986,7 +4986,7 @@ static void x86emuOp_opcFE_byte_RM(u8 X86EMU_UNUSED(op1))
case 5:
case 6:
case 7:
- DECODE_PRINTF2("ILLEGAL OP MAJOR OP 0xFE MINOR OP %x \n", mod);
+ DECODE_PRINTF2("ILLEGAL OP MAJOR OP 0xFE MINOR OP %x\n", mod);
HALT_SYS();
break;
}
@@ -5183,7 +5183,7 @@ static void x86emuOp_opcFF_word_RM(u8 X86EMU_UNUSED(op1))
M.x86.R_IP = *destreg;
break;
case 3: /* jmp far ptr ... */
- DECODE_PRINTF("OPERATION UNDEFINED 0XFF \n");
+ DECODE_PRINTF("OPERATION UNDEFINED 0XFF\n");
TRACE_AND_STEP();
HALT_SYS();
break;
@@ -5195,7 +5195,7 @@ static void x86emuOp_opcFF_word_RM(u8 X86EMU_UNUSED(op1))
M.x86.R_IP = (u16) (*destreg);
break;
case 5: /* jmp far ptr ... */
- DECODE_PRINTF("OPERATION UNDEFINED 0XFF \n");
+ DECODE_PRINTF("OPERATION UNDEFINED 0XFF\n");
TRACE_AND_STEP();
HALT_SYS();
break;
diff --git a/src/device/oprom/x86emu/sys.c b/src/device/oprom/x86emu/sys.c
index e550c459d2..afb7efbe5c 100644
--- a/src/device/oprom/x86emu/sys.c
+++ b/src/device/oprom/x86emu/sys.c
@@ -215,7 +215,7 @@ Default PIO byte read function. Doesn't perform real inb.
static u8 X86API p_inb(X86EMU_pioAddr addr)
{
DB(if (DEBUG_IO_TRACE())
- printf("inb %#04x \n", addr);)
+ printf("inb %#04x\n", addr);)
return inb(addr);
}
@@ -230,7 +230,7 @@ Default PIO word read function. Doesn't perform real inw.
static u16 X86API p_inw(X86EMU_pioAddr addr)
{
DB(if (DEBUG_IO_TRACE())
- printf("inw %#04x \n", addr);)
+ printf("inw %#04x\n", addr);)
return inw(addr);
}
@@ -245,7 +245,7 @@ Default PIO long read function. Doesn't perform real inl.
static u32 X86API p_inl(X86EMU_pioAddr addr)
{
DB(if (DEBUG_IO_TRACE())
- printf("inl %#04x \n", addr);)
+ printf("inl %#04x\n", addr);)
return inl(addr);
}
@@ -259,7 +259,7 @@ Default PIO byte write function. Doesn't perform real outb.
static void X86API p_outb(X86EMU_pioAddr addr, u8 val)
{
DB(if (DEBUG_IO_TRACE())
- printf("outb %#02x -> %#04x \n", val, addr);)
+ printf("outb %#02x -> %#04x\n", val, addr);)
outb(val, addr);
return;
}
@@ -274,7 +274,7 @@ Default PIO word write function. Doesn't perform real outw.
static void X86API p_outw(X86EMU_pioAddr addr, u16 val)
{
DB(if (DEBUG_IO_TRACE())
- printf("outw %#04x -> %#04x \n", val, addr);)
+ printf("outw %#04x -> %#04x\n", val, addr);)
outw(val, addr);
return;
}
@@ -289,7 +289,7 @@ Default PIO ;ong write function. Doesn't perform real outl.
static void X86API p_outl(X86EMU_pioAddr addr, u32 val)
{
DB(if (DEBUG_IO_TRACE())
- printf("outl %#08x -> %#04x \n", val, addr);)
+ printf("outl %#08x -> %#04x\n", val, addr);)
outl(val, addr);
return;