summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/parser
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2013-10-15 09:28:29 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-10-17 11:32:15 -0500
commit6da43ac34cbeffc49ab19afd899ace4b0b440bd1 (patch)
tree7c8de4ef5ffc8974340418590ee709ac21055b21 /src/usr/errl/parser
parenta3a453958b4eee7d0fc0f9dd295a2176bbe7b6ba (diff)
downloadtalos-hostboot-6da43ac34cbeffc49ab19afd899ace4b0b440bd1.tar.gz
talos-hostboot-6da43ac34cbeffc49ab19afd899ace4b0b440bd1.zip
Add term flags to PNOR and INTR errors
Change-Id: Ieb7a4d17e12610eb1dbd80875ddc287ca1f1ccae Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6674 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/errl/parser')
-rwxr-xr-xsrc/usr/errl/parser/genErrlParsers.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/errl/parser/genErrlParsers.pl b/src/usr/errl/parser/genErrlParsers.pl
index b1093dbbe..14feb8bf8 100755
--- a/src/usr/errl/parser/genErrlParsers.pl
+++ b/src/usr/errl/parser/genErrlParsers.pl
@@ -325,7 +325,8 @@ foreach my $file (@reasonCodeFiles)
# in reasoncode.H files
if($term_rc_tag)
{
- my $line = $1." = 0x".$rcToValueHash{$namespace}->{$1};
+ my $line = $1." = 0x".
+ $rcToValueHash{$namespace}->{$1}.",";
push @taggedLines, $line;
$printEnum = 1;
$term_rc_tag = 0;
@@ -350,7 +351,8 @@ foreach my $file (@reasonCodeFiles)
# in reasoncode.H files
if($term_rc_tag)
{
- my $line = $1." = 0x".$rcToValueHash{$namespace}->{$1};
+ my $line = $1." = 0x".
+ $rcToValueHash{$namespace}->{$1}.",";
push @taggedLines, $line;
$printEnum = 1;
$term_rc_tag = 0;
OpenPOWER on IntegriCloud