diff options
author | Corey Swenson <cswenson@us.ibm.com> | 2017-06-20 21:34:41 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-06-23 15:17:54 -0400 |
commit | 17f308c46d0d5453324248046331036c6d0ac0e7 (patch) | |
tree | 984f8ec05aa9e818c58498a8853fb3c5080d5a9d /src/usr/util | |
parent | 3dfe06eda5ea7968fa43276292a443fd94cc4696 (diff) | |
download | talos-hostboot-17f308c46d0d5453324248046331036c6d0ac0e7.tar.gz talos-hostboot-17f308c46d0d5453324248046331036c6d0ac0e7.zip |
Connect get_lid_list interface function in UtilLidMgr
Change-Id: I415b85fd3bf5b1aa4f9caeca5d689e54bcbb1b86
CQ:SW393002
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42315
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/util')
-rw-r--r-- | src/usr/util/runtime/utillidmgr_rt.C | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/usr/util/runtime/utillidmgr_rt.C b/src/usr/util/runtime/utillidmgr_rt.C index c7b6f46ec..6f1173666 100644 --- a/src/usr/util/runtime/utillidmgr_rt.C +++ b/src/usr/util/runtime/utillidmgr_rt.C @@ -251,9 +251,24 @@ const uint32_t * UtilLidMgr::getLidList(size_t * o_num) { static uint32_t lidlist[] = { - Util::OCC_LIDID - // add SLW lids if ever needed + Util::OCC_LIDID, + Util::WOF_LIDID, + Util::NIMBUS_HCODE_LIDID }; *o_num = sizeof(lidlist)/sizeof(lidlist[0]); return lidlist; } + + +//------------------------------------------------------------------------ + +struct registerLidMgr +{ + registerLidMgr() + { + runtimeInterfaces_t * rt_intf = getRuntimeInterfaces(); + rt_intf->get_lid_list = &UtilLidMgr::getLidList; + } +}; + +registerLidMgr g_registerLidMgr; |