mptable: remove unused variable
Change-Id: I1ff7e040b5aafcdb05a3669158ae94551981e747 Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/1109 Tested-by: build bot (Jenkins)
This commit is contained in:
parent
9b860165ba
commit
57f524fd62
|
@ -731,7 +731,7 @@ MPConfigTableHeader( uint32_t pap )
|
||||||
vm_offset_t paddr;
|
vm_offset_t paddr;
|
||||||
mpcth_t cth;
|
mpcth_t cth;
|
||||||
int x;
|
int x;
|
||||||
int totalSize, t;
|
int totalSize;
|
||||||
int count, c;
|
int count, c;
|
||||||
int type;
|
int type;
|
||||||
|
|
||||||
|
@ -804,7 +804,7 @@ MPConfigTableHeader( uint32_t pap )
|
||||||
printf( "--\nProcessors:\tAPIC ID\tVersion\tState"
|
printf( "--\nProcessors:\tAPIC ID\tVersion\tState"
|
||||||
"\t\tFamily\tModel\tStep\tFlags\n" );
|
"\t\tFamily\tModel\tStep\tFlags\n" );
|
||||||
}
|
}
|
||||||
for ( t = totalSize, c = count; c; c-- ) {
|
for ( c = count; c; c-- ) {
|
||||||
if ( readType() == 0 )
|
if ( readType() == 0 )
|
||||||
processorEntry();
|
processorEntry();
|
||||||
totalSize -= basetableEntryTypes[ 0 ].length;
|
totalSize -= basetableEntryTypes[ 0 ].length;
|
||||||
|
@ -812,7 +812,7 @@ MPConfigTableHeader( uint32_t pap )
|
||||||
|
|
||||||
/* process all the busses */
|
/* process all the busses */
|
||||||
printf( "/*Bus:\t\tBus ID\tType*/\n" );
|
printf( "/*Bus:\t\tBus ID\tType*/\n" );
|
||||||
for ( t = totalSize, c = count; c; c-- ) {
|
for ( c = count; c; c-- ) {
|
||||||
if ( readType() == 1 )
|
if ( readType() == 1 )
|
||||||
busEntry();
|
busEntry();
|
||||||
totalSize -= basetableEntryTypes[ 1 ].length;
|
totalSize -= basetableEntryTypes[ 1 ].length;
|
||||||
|
@ -820,7 +820,7 @@ MPConfigTableHeader( uint32_t pap )
|
||||||
|
|
||||||
/* process all the apics */
|
/* process all the apics */
|
||||||
printf( "/*I/O APICs:\tAPIC ID\tVersion\tState\t\tAddress*/\n" );
|
printf( "/*I/O APICs:\tAPIC ID\tVersion\tState\t\tAddress*/\n" );
|
||||||
for ( t = totalSize, c = count; c; c-- ) {
|
for ( c = count; c; c-- ) {
|
||||||
if ( readType() == 2 )
|
if ( readType() == 2 )
|
||||||
ioApicEntry();
|
ioApicEntry();
|
||||||
totalSize -= basetableEntryTypes[ 2 ].length;
|
totalSize -= basetableEntryTypes[ 2 ].length;
|
||||||
|
@ -828,7 +828,7 @@ MPConfigTableHeader( uint32_t pap )
|
||||||
|
|
||||||
/* process all the I/O Ints */
|
/* process all the I/O Ints */
|
||||||
printf( "/*I/O Ints:\tType\tPolarity Trigger\tBus ID\t IRQ\tAPIC ID\tPIN#\n*/" );
|
printf( "/*I/O Ints:\tType\tPolarity Trigger\tBus ID\t IRQ\tAPIC ID\tPIN#\n*/" );
|
||||||
for ( t = totalSize, c = count; c; c-- ) {
|
for ( c = count; c; c-- ) {
|
||||||
if ( readType() == 3 )
|
if ( readType() == 3 )
|
||||||
intEntry();
|
intEntry();
|
||||||
totalSize -= basetableEntryTypes[ 3 ].length;
|
totalSize -= basetableEntryTypes[ 3 ].length;
|
||||||
|
@ -836,7 +836,7 @@ MPConfigTableHeader( uint32_t pap )
|
||||||
|
|
||||||
/* process all the Local Ints */
|
/* process all the Local Ints */
|
||||||
printf( "/*Local Ints:\tType\tPolarity Trigger\tBus ID\t IRQ\tAPIC ID\tPIN#*/\n" );
|
printf( "/*Local Ints:\tType\tPolarity Trigger\tBus ID\t IRQ\tAPIC ID\tPIN#*/\n" );
|
||||||
for ( t = totalSize, c = count; c; c-- ) {
|
for ( c = count; c; c-- ) {
|
||||||
if ( readType() == 4 )
|
if ( readType() == 4 )
|
||||||
lintEntry();
|
lintEntry();
|
||||||
totalSize -= basetableEntryTypes[ 4 ].length;
|
totalSize -= basetableEntryTypes[ 4 ].length;
|
||||||
|
|
Loading…
Reference in New Issue