summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/tools
diff options
context:
space:
mode:
authorKahn Evans <kahnevan@us.ibm.com>2015-10-05 13:48:28 -0500
committerPatrick Williams <iawillia@us.ibm.com>2015-12-11 13:40:20 -0600
commit03cae2144f336c79e1ee13ee2b2de51afc3c03da (patch)
tree619930dc03c7ece6f887d9ee533e188a9b0a5d45 /src/import/hwpf/fapi2/tools
parentd99346a49f0d9aaa47368aec541185f615a1a13d (diff)
downloadtalos-hostboot-03cae2144f336c79e1ee13ee2b2de51afc3c03da.tar.gz
talos-hostboot-03cae2144f336c79e1ee13ee2b2de51afc3c03da.zip
Support for [u]int16_t attribute types.
Also fixed createIfAttrService.pl to start at argv 0 to work correctly. Change-Id: I9f2886b156ab55d1d0499a0c5d8fe8c65adac9a1 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20949 Tested-by: Jenkins Server Reviewed-by: Matt K. Light <mklight@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2/tools')
-rwxr-xr-xsrc/import/hwpf/fapi2/tools/createIfAttrService.pl2
-rwxr-xr-xsrc/import/hwpf/fapi2/tools/parseAttributeInfo.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/import/hwpf/fapi2/tools/createIfAttrService.pl b/src/import/hwpf/fapi2/tools/createIfAttrService.pl
index 075fe9d4a..b46e84ec4 100755
--- a/src/import/hwpf/fapi2/tools/createIfAttrService.pl
+++ b/src/import/hwpf/fapi2/tools/createIfAttrService.pl
@@ -104,7 +104,7 @@ my $attribute = 'attribute';
#------------------------------------------------------------------------------
# For each argument
#------------------------------------------------------------------------------
-foreach my $argnum (1 .. $#ARGV)
+foreach my $argnum (0 .. $#ARGV)
{
my $infile = $ARGV[$argnum];
diff --git a/src/import/hwpf/fapi2/tools/parseAttributeInfo.pl b/src/import/hwpf/fapi2/tools/parseAttributeInfo.pl
index 0c215e222..ecaa08e5c 100755
--- a/src/import/hwpf/fapi2/tools/parseAttributeInfo.pl
+++ b/src/import/hwpf/fapi2/tools/parseAttributeInfo.pl
@@ -394,7 +394,7 @@ foreach my $argnum (0 .. $#ARGV)
exit(1);
}
- my @sizes = ( 'uint8', 'uint32', 'uint64', 'int8', 'int32', 'int64' );
+ my @sizes = ( 'uint8', 'uint16', 'uint32', 'uint64', 'int8', 'int16', 'int32', 'int64' );
my $actualSize = '';
foreach my $size (@sizes)
{
OpenPOWER on IntegriCloud