summaryrefslogtreecommitdiff
path: root/util/mptable
diff options
context:
space:
mode:
Diffstat (limited to 'util/mptable')
-rw-r--r--util/mptable/mptable.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/util/mptable/mptable.c b/util/mptable/mptable.c
index b253b75248..fea99ac877 100644
--- a/util/mptable/mptable.c
+++ b/util/mptable/mptable.c
@@ -296,7 +296,7 @@ int grope = 0;
int verbose = 0;
int noisy = 0;
/* preamble to the mptable. This is fixed for all coreboots */
-
+
char *preamble[] = {
"#include <console/console.h>",
"#include <arch/smp/mpspec.h>",
@@ -404,7 +404,7 @@ write_code(char **code)
printf("%s\n", *code++);
}
/*
- *
+ *
*/
int
main( int argc, char *argv[] )
@@ -415,7 +415,7 @@ main( int argc, char *argv[] )
int defaultConfig;
/* announce ourselves */
-
+
if (verbose) puts( SEP_LINE2 );
printf( "/* generated by MPTable, version %d.%d.%d*/\n", VMAJOR, VMINOR, VDELTA );
@@ -427,7 +427,7 @@ main( int argc, char *argv[] )
for(argc--, argv++; argc; argc--, argv++){
if ( strcmp( argv[0], "-dmesg") == 0 ) {
dmesg = 1;
- } else
+ } else
if ( strcmp( argv[0], "-help") == 0 )
{
usage();
@@ -648,7 +648,7 @@ apic_probe( vm_offset_t* paddr, int* where )
/*
- *
+ *
*/
static void
MPFloatingPointer( vm_offset_t paddr, int where, mpfps_t* mpfps )
@@ -719,7 +719,7 @@ MPFloatingPointer( vm_offset_t paddr, int where, mpfps_t* mpfps )
/*
- *
+ *
*/
static void
MPConfigDefault( int featureByte )
@@ -776,7 +776,7 @@ MPConfigDefault( int featureByte )
/*
- *
+ *
*/
static void
MPConfigTableHeader( uint32_t pap )
@@ -966,7 +966,7 @@ MPConfigTableHeader( uint32_t pap )
/*
- *
+ *
*/
static int
readType( void )
@@ -984,7 +984,7 @@ readType( void )
/*
- *
+ *
*/
static void
seekEntry( vm_offset_t addr )
@@ -995,7 +995,7 @@ seekEntry( vm_offset_t addr )
/*
- *
+ *
*/
static void
readEntry( void* entry, int size )
@@ -1034,7 +1034,7 @@ processorEntry( void )
/*
- *
+ *
*/
static int
lookupBusType( char* name )
@@ -1103,13 +1103,13 @@ ioApicEntry( void )
apics[ entry.apicID ] = entry.apicID;
// the numbering and setup of ioapics is so irrational
- // that for now we will punt.
+ // that for now we will punt.
#if 0
if (entry.apicFlags & IOAPICENTRY_FLAG_EN)
printf("\tsmp_write_ioapic(mc, 0x%x, 0x%x, 0x%x);\n",
entry.apicID, entry.apicVersion, entry.apicAddress);
#endif
-
+
}
@@ -1144,11 +1144,11 @@ intEntry( void )
printf( "\t %5d", (int)entry.srcBusID );
if ( busses[ (int)entry.srcBusID ] == PCI )
- printf( "\t%2d:%c",
+ printf( "\t%2d:%c",
((int)entry.srcBusIRQ >> 2) & 0x1f,
((int)entry.srcBusIRQ & 0x03) + 'A' );
else
- printf( "\t 0x%x:0x%x(0x%x)",
+ printf( "\t 0x%x:0x%x(0x%x)",
(int)entry.srcBusIRQ>>2,
(int)entry.srcBusIRQ & 3,
(int)entry.srcBusIRQ );
@@ -1163,7 +1163,7 @@ intEntry( void )
(int)entry.srcBusIRQ,
(int)entry.dstApicID ,
(int)entry.dstApicINT );
-
+
}
static void
@@ -1186,7 +1186,7 @@ lintEntry( void )
printf( "\t %5d", (int)entry.srcBusID );
if ( busses[ (int)entry.srcBusID ] == PCI )
- printf( "\t%2d:%c",
+ printf( "\t%2d:%c",
((int)entry.srcBusIRQ >> 2) & 0x1f,
((int)entry.srcBusIRQ & 0x03) + 'A' );
else
@@ -1201,7 +1201,7 @@ lintEntry( void )
(int)entry.srcBusID,
(int)entry.srcBusIRQ,
(int)entry.dstApicINT );
-
+
}
@@ -1304,7 +1304,7 @@ doOptionList( void )
/*
- *
+ *
*/
static void
pnstr( uint8_t* s, int c )