summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/xmltohb/xmltohb.pl
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2013-12-11 11:22:50 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-12-12 10:03:12 -0600
commitece9483718f60199bf10181031f588d845bf1a70 (patch)
treefdf93d7e1541296839ca2cd6bf34890d421b161a /src/usr/targeting/common/xmltohb/xmltohb.pl
parentd7a16d0fb6a7167bff7a441b62f87d03f33a000f (diff)
downloadtalos-hostboot-ece9483718f60199bf10181031f588d845bf1a70.tar.gz
talos-hostboot-ece9483718f60199bf10181031f588d845bf1a70.zip
HWServer reinit support
Some changes from Raja required for the reinit support. Change-Id: I5f45ea0980f87a73380dd01dc0b05050f6bbdcec RTC: 47000 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7675 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/xmltohb.pl')
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/xmltohb.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/targeting/common/xmltohb/xmltohb.pl b/src/usr/targeting/common/xmltohb/xmltohb.pl
index 0a64c5b08..c0216658b 100755
--- a/src/usr/targeting/common/xmltohb/xmltohb.pl
+++ b/src/usr/targeting/common/xmltohb/xmltohb.pl
@@ -5419,6 +5419,9 @@ sub generateTargetingImage {
my ($heapZeroInitData,$alignment) = packAttribute(
$attributes,
$attributeDef,$attrhash{$attributeId}->{default});
+
+ my $hex = unpack ("H*",$heapZeroInitData);
+ push @attrDataforSM, [$attrValue, $huidValue, $hex, $section];
# Align the data as necessary
my $pads = ($alignment - ($heapZeroInitOffset
@@ -5439,7 +5442,9 @@ sub generateTargetingImage {
my ($heapPnorInitData,$alignment) = packAttribute(
$attributes,
$attributeDef,$attrhash{$attributeId}->{default});
-
+
+ my $hex = unpack ("H*",$heapPnorInitData);
+ push @attrDataforSM, [$attrValue, $huidValue, $hex, $section];
# Align the data as necessary
my $pads = ($alignment - ($heapPnorInitOffset
% $alignment)) % $alignment;
OpenPOWER on IntegriCloud