diff options
author | Kahn Evans <kahnevan@us.ibm.com> | 2015-10-05 13:48:28 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2015-12-11 13:40:20 -0600 |
commit | 03cae2144f336c79e1ee13ee2b2de51afc3c03da (patch) | |
tree | 619930dc03c7ece6f887d9ee533e188a9b0a5d45 /src/import/hwpf/fapi2/tools | |
parent | d99346a49f0d9aaa47368aec541185f615a1a13d (diff) | |
download | talos-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-x | src/import/hwpf/fapi2/tools/createIfAttrService.pl | 2 | ||||
-rwxr-xr-x | src/import/hwpf/fapi2/tools/parseAttributeInfo.pl | 2 |
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) { |