diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-04-11 12:08:33 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-04-11 12:08:33 -0400 |
commit | 028f3487cfaa136815dd8d1896310c763402e969 (patch) | |
tree | a1116a26951e042404df1e97b37015dcaccf86c9 /src | |
parent | 7c79029e43af2e98449d437d4d325bf56b10abd8 (diff) | |
download | seabios-hppa-028f3487cfaa136815dd8d1896310c763402e969.zip seabios-hppa-028f3487cfaa136815dd8d1896310c763402e969.tar.gz seabios-hppa-028f3487cfaa136815dd8d1896310c763402e969.tar.bz2 |
Minor - replace some tab characters that slipped into the code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/config.h | 2 | ||||
-rw-r--r-- | src/fw/biostables.c | 2 | ||||
-rw-r--r-- | src/fw/coreboot.c | 6 | ||||
-rw-r--r-- | src/fw/smm.c | 4 | ||||
-rw-r--r-- | src/hw/esp-scsi.c | 4 |
5 files changed, 9 insertions, 9 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); |