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
This commit is contained in:
parent
70d79a4546
commit
a1ac10fc85
|
@ -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 );
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -97,7 +97,7 @@ biosemu_dev_get_addr_info(void)
|
|||
taa_index++;
|
||||
/* legacy ranges if its a VGA card... */
|
||||
if ((bios_device.dev->class & 0xFF0000) == 0x030000) {
|
||||
DEBUG_PRINTF("%s: VGA device found, adding legacy resources... \n", __func__);
|
||||
DEBUG_PRINTF("%s: VGA device found, adding legacy resources...\n", __func__);
|
||||
/* I/O 0x3B0-0x3BB */
|
||||
translate_address_array[taa_index].info = IORESOURCE_FIXED | IORESOURCE_IO;
|
||||
translate_address_array[taa_index].bus = bus;
|
||||
|
@ -133,7 +133,7 @@ biosemu_dev_get_addr_info(void)
|
|||
taa_last_entry = taa_index - 1;
|
||||
#if CONFIG_X86EMU_DEBUG
|
||||
//dump translate_address_array
|
||||
printf("translate_address_array: \n");
|
||||
printf("translate_address_array:\n");
|
||||
translate_address_t ta;
|
||||
int i;
|
||||
for (i = 0; i <= taa_last_entry; i++) {
|
||||
|
@ -217,7 +217,7 @@ biosemu_dev_get_addr_info(void)
|
|||
taa_last_entry = taa_index - 1;
|
||||
#if CONFIG_X86EMU_DEBUG
|
||||
//dump translate_address_array
|
||||
printf("translate_address_array: \n");
|
||||
printf("translate_address_array:\n");
|
||||
translate_address_t ta;
|
||||
for (i = 0; i <= taa_last_entry; i++) {
|
||||
ta = translate_address_array[i];
|
||||
|
|
|
@ -386,7 +386,7 @@ handleInt1a(void)
|
|||
#endif
|
||||
} else {
|
||||
DEBUG_PRINTF_INTR
|
||||
("%s(): function %x: invalid device/vendor/device index! (%04x/%04x/%02x expected: %04x/%04x/00) \n",
|
||||
("%s(): function %x: invalid device/vendor/device index! (%04x/%04x/%02x expected: %04x/%04x/00)\n",
|
||||
__func__, M.x86.R_AX, M.x86.R_CX, M.x86.R_DX,
|
||||
M.x86.R_SI, bios_device.pci_device_id,
|
||||
bios_device.pci_vendor_id);
|
||||
|
|
|
@ -505,7 +505,7 @@ vbe_get_info(void)
|
|||
DEBUG_PRINTF_VBE("DDC: edid_tranfer_time: %d\n",
|
||||
ddc_info.edid_transfer_time);
|
||||
DEBUG_PRINTF_VBE("DDC: ddc_level: %x\n", ddc_info.ddc_level);
|
||||
DEBUG_PRINTF_VBE("DDC: EDID: \n");
|
||||
DEBUG_PRINTF_VBE("DDC: EDID:\n");
|
||||
CHECK_DBG(DEBUG_VBE) {
|
||||
dump(ddc_info.edid_block_zero,
|
||||
sizeof(ddc_info.edid_block_zero));
|
||||
|
|
Loading…
Reference in New Issue