summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/predicates
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2015-11-10 07:33:39 -0600
committerPatrick Williams <iawillia@us.ibm.com>2015-12-11 13:56:27 -0600
commit1d7b38ba816f52b12e0c131ec5daf86b00886c63 (patch)
treef2ad0a1036582ac20abc1d6c931f78a135acd4ea /src/usr/targeting/common/predicates
parent90245203585d4212f507770094183aca1f73c4e6 (diff)
downloadblackbird-hostboot-1d7b38ba816f52b12e0c131ec5daf86b00886c63.tar.gz
blackbird-hostboot-1d7b38ba816f52b12e0c131ec5daf86b00886c63.zip
Establish a working P9 Hostboot and Simics base
Includes changes for nimbus.por Making recent Simics usable by Hostboot Removing portions of code not yet ready Basic LPC read/write Change-Id: Ic40a9613934fab7bb6a28a8100685496246bb5ea RTC:132170 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21931 Tested-by: Jenkins Server Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: Christian Geddes <crgeddes@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/predicates')
-rwxr-xr-x[-rw-r--r--]src/usr/targeting/common/predicates/predicatepostfixexpr.C12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/usr/targeting/common/predicates/predicatepostfixexpr.C b/src/usr/targeting/common/predicates/predicatepostfixexpr.C
index 75b699fae..413805da7 100644..100755
--- a/src/usr/targeting/common/predicates/predicatepostfixexpr.C
+++ b/src/usr/targeting/common/predicates/predicatepostfixexpr.C
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -181,7 +183,7 @@ bool PredicatePostfixExpr::operator()(
TARG_ASSERT(l_stack.size() >= 2,
TARG_LOC "Stack for AND must be >=2 but is %d",
- l_stack.size());
+ (uint32_t)(l_stack.size()));
// The stack now has two trailing items, LHS + RHS (back). If
// LHS is still in predicate form, evaluate it first, otherwise
@@ -210,7 +212,7 @@ bool PredicatePostfixExpr::operator()(
TARG_ASSERT(l_stack.size() >= 2,
TARG_LOC "Stack for OR must be >= 2 but is %d",
- l_stack.size());
+ (uint32_t)(l_stack.size()));
// The stack now has two trailing items, LHS + RHS (back). If
// LHS is still in predicate form, evaluate it first, otherwise
@@ -238,7 +240,7 @@ bool PredicatePostfixExpr::operator()(
case NOT:
TARG_ASSERT(l_stack.size() >= 1,
TARG_LOC "Stack for NOT must be >= 1 but is %d",
- l_stack.size());
+ (uint32_t)(l_stack.size()));
// The stack now has a trailing item, LHS (back). If LHS is
// still in predicate form, evaluate it first, otherwise
@@ -270,7 +272,7 @@ bool PredicatePostfixExpr::operator()(
TARG_ASSERT(l_stack.size() == 1,
TARG_LOC "Postfix expression created incorrectly. Stack "
"size should be 1 but is %d",
- l_stack.size());
+ (uint32_t)(l_stack.size()));
// The stack now has a trailing item, LHS (back). If LHS is still in
// predicate form, evaluate it first, otherwise use it directly. This
OpenPOWER on IntegriCloud