From 028f3487cfaa136815dd8d1896310c763402e969 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 11 Apr 2014 12:08:33 -0400 Subject: Minor - replace some tab characters that slipped into the code. Signed-off-by: Kevin O'Connor --- src/config.h | 2 +- src/fw/biostables.c | 2 +- src/fw/coreboot.c | 6 +++--- src/fw/smm.c | 4 ++-- src/hw/esp-scsi.c | 4 ++-- vgasrc/geodevga.h | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/config.h b/src/config.h index 2fee0c7..d705615 100644 --- a/src/config.h +++ b/src/config.h @@ -54,7 +54,7 @@ #define BUILD_APIC_ADDR 0xfee00000 // PCI IRQS -#define BUILD_PCI_IRQS ((1<<5) | (1<<9) | (1<<10) | (1<<11)) +#define BUILD_PCI_IRQS ((1<<5) | (1<<9) | (1<<10) | (1<<11)) // Important real-mode segments #define SEG_IVT 0x0000 diff --git a/src/fw/biostables.c b/src/fw/biostables.c index 19fcbf9..a90199b 100644 --- a/src/fw/biostables.c +++ b/src/fw/biostables.c @@ -186,7 +186,7 @@ acpi_reboot(void) switch (acpi_reset_reg.address_space_id) { case 0: // System Memory - writeb((void *)(u32)addr, acpi_reset_val); + writeb((void *)(u32)addr, acpi_reset_val); break; case 1: // System I/O outb(acpi_reset_val, addr); diff --git a/src/fw/coreboot.c b/src/fw/coreboot.c index 9de01c2..8fd8449 100644 --- a/src/fw/coreboot.c +++ b/src/fw/coreboot.c @@ -80,9 +80,9 @@ struct cb_cbmem_ref { #define CB_TAG_CBMEM_CONSOLE 0x17 struct cbmem_console { - u32 buffer_size; - u32 buffer_cursor; - u8 buffer_body[0]; + u32 buffer_size; + u32 buffer_cursor; + u8 buffer_body[0]; } PACKED; static struct cbmem_console *cbcon = NULL; diff --git a/src/fw/smm.c b/src/fw/smm.c index e1da3f6..1032ffb 100644 --- a/src/fw/smm.c +++ b/src/fw/smm.c @@ -166,7 +166,7 @@ void smm_device_setup(void) { if (!CONFIG_USE_SMM) - return; + return; struct pci_device *isapci, *pmpci; isapci = pci_find_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371AB_3); @@ -188,7 +188,7 @@ void smm_setup(void) { if (!CONFIG_USE_SMM || SMMISADeviceBDF < 0) - return; + return; dprintf(3, "init smm\n"); u16 device = pci_config_readw(SMMISADeviceBDF, PCI_DEVICE_ID); diff --git a/src/hw/esp-scsi.c b/src/hw/esp-scsi.c index 982c1d5..33cc449 100644 --- a/src/hw/esp-scsi.c +++ b/src/hw/esp-scsi.c @@ -120,14 +120,14 @@ esp_scsi_cmd(struct esp_lun_s *llun_gf, struct disk_op_s *op, } } - /* At end of DMA TC is set again -> complete command. */ + /* At end of DMA TC is set again -> complete command. */ if (state == 1 && (stat & ESP_STAT_TC)) { state++; outb(ESP_CMD_ICCS, iobase + ESP_CMD); continue; } - /* Finally read data from the message in phase. */ + /* Finally read data from the message in phase. */ if (state == 2 && (stat & ESP_STAT_MSG)) { state++; status = inb(iobase + ESP_FIFO); diff --git a/vgasrc/geodevga.h b/vgasrc/geodevga.h index 067b4f8..61d7808 100644 --- a/vgasrc/geodevga.h +++ b/vgasrc/geodevga.h @@ -26,7 +26,7 @@ #define MSR_GLIU0 (1 << 28) #define MSR_GLIU0_BASE4 (MSR_GLIU0 + 0x23) /* LX */ #define GLIU0_P2D_BM_4 (MSR_GLIU0 + 0x24) /* GX2 */ -#define GLIU0_P2D_RO (MSR_GLIU0 + 0x29) +#define GLIU0_P2D_RO (MSR_GLIU0 + 0x29) #define GLIU0_IOD_BM_0 (MSR_GLIU0 + 0xE0) #define GLIU0_IOD_BM_1 (MSR_GLIU0 + 0xE1) #define DC_SPARE 0x80000011 -- cgit v1.1