summaryrefslogtreecommitdiffstats
path: root/src/include/usr/util
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2017-04-26 16:59:11 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-05-10 12:19:05 -0400
commit1f4dfe8eb4042b590d9e948591a6c285823fa548 (patch)
tree86acbe6efa9ed6ccfb4917a7b21aeb6b8fa78d18 /src/include/usr/util
parent93a1479c96c011e6c98b47f6bc0ce5b267a9b28c (diff)
downloadtalos-hostboot-1f4dfe8eb4042b590d9e948591a6c285823fa548.tar.gz
talos-hostboot-1f4dfe8eb4042b590d9e948591a6c285823fa548.zip
Clean up OCC and enable HTMGT
Change-Id: I0903f4bd504589d4d5931b4b3b6206664f39b119 RTC:171441 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39736 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sheldon R. Bailey <baileysh@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/util')
-rw-r--r--src/include/usr/util/utillidmgr.H23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/usr/util/utillidmgr.H b/src/include/usr/util/utillidmgr.H
index 2b6e871e2..e334a9b13 100644
--- a/src/include/usr/util/utillidmgr.H
+++ b/src/include/usr/util/utillidmgr.H
@@ -183,6 +183,29 @@ class UtilLidMgr
*/
errlHndl_t releaseLidImage(void);
+// @todo RTC 155065 IPL Time Checkstop Analysis Enablement
+#ifdef CONFIG_IPLTIME_CHECKSTOP_ANALYSIS
+ /**
+ * @brief Get lid managers' pointer to the lid vaddr.
+ *
+ * @return void* - Returns pointer to virtual address the lid lives in.
+ * Null if the lid is not in virtual address space.
+ * NOTE: Only supporting PNOR Virt Addr now
+ */
+ inline const void* getLidVirtAddr() const
+ {
+ const void* l_addr = NULL;
+ // Get pointer to PNOR vaddr
+ if (iv_isLidInPnor)
+ {
+ l_addr = reinterpret_cast<const void*>(iv_lidPnorInfo.vaddr);
+ }
+ // Add support for other virtual address spaces here
+
+ return l_addr;
+ }
+#endif
+
#ifdef __HOSTBOOT_RUNTIME
/**
* @brief Get a list of LID numbers
OpenPOWER on IntegriCloud