aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-04-11 12:08:33 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-04-11 12:08:33 -0400
commit028f3487cfaa136815dd8d1896310c763402e969 (patch)
treea1116a26951e042404df1e97b37015dcaccf86c9
parent7c79029e43af2e98449d437d4d325bf56b10abd8 (diff)
downloadseabios-028f3487cfaa136815dd8d1896310c763402e969.zip
seabios-028f3487cfaa136815dd8d1896310c763402e969.tar.gz
seabios-028f3487cfaa136815dd8d1896310c763402e969.tar.bz2
Minor - replace some tab characters that slipped into the code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--src/config.h2
-rw-r--r--src/fw/biostables.c2
-rw-r--r--src/fw/coreboot.c6
-rw-r--r--src/fw/smm.c4
-rw-r--r--src/hw/esp-scsi.c4
-rw-r--r--vgasrc/geodevga.h2
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