Fix indentation

This commit is contained in:
RichardG867
2020-06-07 17:00:55 -03:00
parent 25f5e96031
commit 8848e6e56e

View File

@@ -7,7 +7,7 @@
* This file is part of the 86Box distribution. * This file is part of the 86Box distribution.
* *
* Skeleton I/O APIC implementation, currently housing the MPS * Skeleton I/O APIC implementation, currently housing the MPS
* table patcher for machines that require it. * table patcher for machines that require it.
* *
* *
* *
@@ -73,16 +73,16 @@ ioapic_write(uint16_t port, uint8_t val, void *priv)
continue; continue;
/* read and check pointer to the PCMP table (Configuration Table) */ /* read and check pointer to the PCMP table (Configuration Table) */
pcmp = mem_readl_phys(addr + 4); pcmp = mem_readl_phys(addr + 4);
if ((pcmp < 0xf0000) || (pcmp > 0xfffff) || (mem_readl_phys(pcmp) != 0x504d4350)) /* ASCII "PCMP" */ if ((pcmp < 0xf0000) || (pcmp > 0xfffff) || (mem_readl_phys(pcmp) != 0x504d4350)) /* ASCII "PCMP" */
continue; continue;
/* patch over the signature on both tables */ /* patch over the signature on both tables */
ioapic_log("IOAPIC: Patching _MP_ [%08x] and PCMP [%08x] tables\n", addr, pcmp); ioapic_log("IOAPIC: Patching _MP_ [%08x] and PCMP [%08x] tables\n", addr, pcmp);
ram[addr] = ram[addr + 1] = ram[addr + 2] = ram[addr + 3] = 0xff; ram[addr] = ram[addr + 1] = ram[addr + 2] = ram[addr + 3] = 0xff;
ram[pcmp] = ram[pcmp + 1] = ram[pcmp + 2] = ram[pcmp + 3] = 0xff; ram[pcmp] = ram[pcmp + 1] = ram[pcmp + 2] = ram[pcmp + 3] = 0xff;
break; break;
} }
} }