summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2012-06-20 10:38:21 +0200
committerSven Schnelle <svens@stackframe.org>2012-06-20 12:46:55 +0200
commit69eab16ce619c865988b892b857805598ca1779f (patch)
tree2028b194daa9b8fb74ed6c3e6596efca38e213b9
parent2f8c4f829e7eab2563dfb9d17d8c93d9070f7c45 (diff)
downloadcoreboot-69eab16ce619c865988b892b857805598ca1779f.tar.xz
mptable: realign comments with code
Change-Id: I4bc90334c7220512607cd5e777ce1f8cc595e2f0 Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/1115 Tested-by: build bot (Jenkins)
-rw-r--r--util/mptable/mptable.c10
1 files 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();