summaryrefslogtreecommitdiffstats
path: root/src/usr/util
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2014-02-19 16:33:26 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-04-11 12:44:48 -0500
commitd83e0f05717dc06edc537dcab1deb1758ba7dcf5 (patch)
treed9dc4791f8ad3f368830d31979f2b925af558246 /src/usr/util
parent646efbab03ef380876d843f9ab244f0c08b3fda1 (diff)
downloadtalos-hostboot-d83e0f05717dc06edc537dcab1deb1758ba7dcf5.tar.gz
talos-hostboot-d83e0f05717dc06edc537dcab1deb1758ba7dcf5.zip
HB runtime OCC support for Sapphire
Change-Id: Ie730f0676fa3e35b030d88da8ce666ee61c413a3 RTC: 76683 Backport: release-fips810 CMVC-Prereq: 922520 CQ: SW256269 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9187 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/util')
-rw-r--r--src/usr/util/runtime/utillidmgr_rt.C14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/usr/util/runtime/utillidmgr_rt.C b/src/usr/util/runtime/utillidmgr_rt.C
index 397cc6074..c0518befb 100644
--- a/src/usr/util/runtime/utillidmgr_rt.C
+++ b/src/usr/util/runtime/utillidmgr_rt.C
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2013 */
+/* COPYRIGHT International Business Machines Corp. 2013,2014 */
/* */
/* p1 */
/* */
@@ -28,6 +28,7 @@
#include <errl/errlmanager.H>
#include <vfs/vfs.H>
#include <runtime/interface.h>
+#include <hwpf/hwp/occ/occ.H>
UtilLidMgr::UtilLidMgr(uint32_t i_lidId) :
iv_isPnor(false), iv_lidBuffer(NULL), iv_lidSize(0)
@@ -143,3 +144,14 @@ void UtilLidMgr::updateLid(uint32_t i_lidId)
return;
}
+
+const uint32_t * UtilLidMgr::getLidList(size_t * o_num)
+{
+ static uint32_t lidlist[] =
+ {
+ HBOCC::OCC_LIDID
+ // add SLW lids if ever needed
+ };
+ *o_num = sizeof(lidlist)/sizeof(lidlist[0]);
+ return lidlist;
+}
OpenPOWER on IntegriCloud