summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/attrrp_common.C
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2018-05-29 11:34:33 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-06-21 14:38:36 -0400
commitccf2f3445e15a93f06528c5f077c34e5abce548b (patch)
treeffe6319edd19764336ec110424ed4f6b869b15de /src/usr/targeting/attrrp_common.C
parentfd49726ffcf05ade7e6c71ed1666b2075a999f95 (diff)
downloadtalos-hostboot-ccf2f3445e15a93f06528c5f077c34e5abce548b.tar.gz
talos-hostboot-ccf2f3445e15a93f06528c5f077c34e5abce548b.zip
HBRT attrrp depends on node zero being present
Rework the code in the runtime startup() function to not depend on using Node 0 reserved memory data to discover what nodes are present and to create "invalid node" structs in iv_nodeContainer for nodes that are not present. Change-Id: I61f0dbdc94c6dd1a31a3e3453b149e7322311a6e RTC: 192967 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59497 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/attrrp_common.C')
-rwxr-xr-xsrc/usr/targeting/attrrp_common.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/targeting/attrrp_common.C b/src/usr/targeting/attrrp_common.C
index a78017e29..1adee2edd 100755
--- a/src/usr/targeting/attrrp_common.C
+++ b/src/usr/targeting/attrrp_common.C
@@ -32,7 +32,8 @@ namespace TARGETING
#define TARG_CLASS "AttrRP"
#ifdef __HOSTBOOT_RUNTIME
- // It is defined here to limit the scope within this file
+ // It is defined here to limit the scope within this file,
+ // this file is also included in attrrp_rt.C
#define INVALID_NODE_ID iv_nodeContainer.size()
#endif
OpenPOWER on IntegriCloud