diff options
| author | crgeddes <crgeddes@us.ibm.com> | 2016-03-28 14:22:47 -0500 |
|---|---|---|
| committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-04-21 13:51:25 -0500 |
| commit | 377b2e9e9315f1a4a90a879c652f4300d7f389d4 (patch) | |
| tree | 78161ec90242fc9077ebd8c4119fc8beed3de53c /src/build/debug | |
| parent | 9f1deb3f591bb2010cf0ab320dfa23a1e4bec43d (diff) | |
| download | talos-hostboot-377b2e9e9315f1a4a90a879c652f4300d7f389d4.tar.gz talos-hostboot-377b2e9e9315f1a4a90a879c652f4300d7f389d4.zip | |
Use generated attribute CSV files in hbDistTargets
Change-Id: Id783767251213db7f155e7fd67e7d47af05f25ce
RTC: 142088
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22543
Tested-by: Jenkins Server
Tested-by: FSP CI Jenkins
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/build/debug')
| -rwxr-xr-x | src/build/debug/Hostboot/HwpfAttrOverride.pm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/build/debug/Hostboot/HwpfAttrOverride.pm b/src/build/debug/Hostboot/HwpfAttrOverride.pm index 904bdff25..5c6127e12 100755 --- a/src/build/debug/Hostboot/HwpfAttrOverride.pm +++ b/src/build/debug/Hostboot/HwpfAttrOverride.pm @@ -82,8 +82,8 @@ my $overrideSymbol = 'fapi2::g_attrOverride'; my $overrideFapiTankSymbol = 'fapi2::g_attrOverrideFapiTank'; # Expected filenames -my $fapiAttrInfoFileName = 'fapiAttrInfo.csv'; -my $fapiAttrEnumInfoFileName = 'fapiAttrEnumInfo.csv'; +my $fapiAttrInfoFileName = 'attrInfo.csv'; +my $fapiAttrEnumInfoFileName = 'attrEnumInfo.csv'; my $targAttrInfoFileName = 'targAttrInfo.csv'; my $overrideFileName = 'OverrideAttrs.txt'; @@ -118,16 +118,16 @@ sub main #-------------------------------------------------------------------------- my $overrideSymAddr = (::findSymbolAddress("$overrideSymbol"))[0]; - + if (not defined $overrideSymAddr) { ::userDisplay "Cannot find Hostboot symbol '$overrideSymbol'\n"; die; } - + my $overrideAddr = Hostboot::_DebugFrameworkVMM::getPhysicalAddr( $overrideSymAddr, $debug, 0); - + if ($overrideAddr eq Hostboot::_DebugFrameworkVMM::NotFound) { ::userDisplay "Cannot translate '$overrideSymbol' to a phys addr\n"; @@ -136,16 +136,16 @@ sub main #-------------------------------------------------------------------------- my $overrideFapiTankSymAddr = (::findSymbolAddress("$overrideFapiTankSymbol"))[0]; - + if (not defined $overrideFapiTankSymAddr) { ::userDisplay "Cannot find Hostboot symbol '$overrideFapiTankSymbol'\n"; die; } - + my $overrideFapiTankAddr = Hostboot::_DebugFrameworkVMM::getPhysicalAddr( $overrideFapiTankSymAddr, $debug, 0); - + if ($overrideFapiTankAddr eq Hostboot::_DebugFrameworkVMM::NotFound) { ::userDisplay "Cannot translate '$overrideFapiTankSymbol' to a phys addr\n"; @@ -276,10 +276,10 @@ sub main my $numOverrides = 0; my $attrString = ""; my @attrLines; - + #-------------------------------------------------------------------------- # Iterate over all lines in the Attribute Overrides file - #-------------------------------------------------------------------------- + #-------------------------------------------------------------------------- open(OVFILE, "< $overrideFile") or die "Cannot open file '$overrideFile'"; my $line = <OVFILE>; while ($line ne "") @@ -397,7 +397,7 @@ sub main else { ::userDisplay "Cannot find '$attrIdStr' in attribute info files\n"; - die; + die; } # Figure out the attribute element size |

