From 69eab16ce619c865988b892b857805598ca1779f Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Wed, 20 Jun 2012 10:38:21 +0200 Subject: mptable: realign comments with code Change-Id: I4bc90334c7220512607cd5e777ce1f8cc595e2f0 Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/1115 Tested-by: build bot (Jenkins) --- util/mptable/mptable.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/util/mptable/mptable.c b/util/mptable/mptable.c index e2845765e6..5b8a59d66f 100644 --- a/util/mptable/mptable.c +++ b/util/mptable/mptable.c @@ -313,7 +313,6 @@ char *preamble[] = { "", " smp_write_processors(mc);", "", - "", 0 }; @@ -809,7 +808,7 @@ static void MPConfigTableHeader(uint32_t pap) } /* process all the busses */ - printf("/*Bus:\t\tBus ID\tType*/\n"); + printf("\t/* Bus: Bus ID Type */\n"); for (c = count; c; c--) { if (readType() == 1) busEntry(); @@ -817,7 +816,7 @@ static void MPConfigTableHeader(uint32_t pap) } /* process all the apics */ - printf("/*I/O APICs:\tAPIC ID\tVersion\tState\t\tAddress*/\n"); + printf("\t/* I/O APICs: APIC ID Version State Address */\n"); for (c = count; c; c--) { if (readType() == 2) ioApicEntry(); @@ -825,8 +824,7 @@ static void MPConfigTableHeader(uint32_t pap) } /* process all the I/O Ints */ - printf - ("/*I/O Ints:\tType\tPolarity Trigger\tBus ID\t IRQ\tAPIC ID\tPIN#\n*/"); + printf("\t/* I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#*/ \n"); for (c = count; c; c--) { if (readType() == 3) intEntry(); @@ -835,7 +833,7 @@ static void MPConfigTableHeader(uint32_t pap) /* process all the Local Ints */ printf - ("/*Local Ints:\tType\tPolarity Trigger\tBus ID\t IRQ\tAPIC ID\tPIN#*/\n"); + ("\t/* Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# */\n"); for (c = count; c; c--) { if (readType() == 4) lintEntry(); -- cgit v1.2.3