diff options
author | Stephen Cprek <smcprek@us.ibm.com> | 2017-06-15 17:27:51 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-16 09:32:53 -0400 |
commit | 120522fd7f1e9b8e6942a63b43ba0b7c08aa504a (patch) | |
tree | d8eef2f5b766069a554a9424f1bef4a86dc5317b /src/include/usr/util | |
parent | 97c6fb65b1006ade6de7f1556338bee1d4058c0d (diff) | |
download | talos-hostboot-120522fd7f1e9b8e6942a63b43ba0b7c08aa504a.tar.gz talos-hostboot-120522fd7f1e9b8e6942a63b43ba0b7c08aa504a.zip |
Verify sections for HBRT and put in HB resv memory
Change-Id: I467fe768fce46aa182bbd3c32c090194262d4e75
RTC:175115
CMVC-coreq:1029391
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42009
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-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>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/util')
-rw-r--r-- | src/include/usr/util/utillidmgr.H | 14 | ||||
-rw-r--r-- | src/include/usr/util/utillidpnor.H | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/include/usr/util/utillidmgr.H b/src/include/usr/util/utillidmgr.H index f6a4762f4..9939fbe64 100644 --- a/src/include/usr/util/utillidmgr.H +++ b/src/include/usr/util/utillidmgr.H @@ -419,6 +419,15 @@ class UtilLidMgr */ void* iv_lidBuffer; + /** + * @brief Indicates that a lid is pre-verified in HbResvMem + * + * @param[in] i_section - Lid Id + * + * @return bool - True if lid is in HB reserved memory, false otherwise + */ + bool lidInHbResvMem(uint32_t i_lidId) const; + #endif // __HOSTBOOT_RUNTIME /** @@ -464,6 +473,11 @@ class UtilLidMgr */ bool iv_isLidInVFS; + /** + * @brief value indicating if lid is in hostboot reserved memory + */ + bool iv_isLidInHbResvMem; + }; #endif /* _UTILLIDMGR_H */ diff --git a/src/include/usr/util/utillidpnor.H b/src/include/usr/util/utillidpnor.H index c7daa00b7..dd4aa73c6 100644 --- a/src/include/usr/util/utillidpnor.H +++ b/src/include/usr/util/utillidpnor.H @@ -32,6 +32,9 @@ namespace Util { +// 4 byte LidId string plus NULL +extern const size_t lidIdStrLength; + /** @struct LidAndContainerLid * @brief Stores the Lid ID and corresponding Container Lid ID for a lid * |