summaryrefslogtreecommitdiffstats
path: root/src/include/usr/runtime
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2017-02-24 15:08:57 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-04-10 13:48:29 -0400
commit5bdb1f8ec34124c68db869dbb46b27e5a5fc24b5 (patch)
tree84ccf175a63ea0c362d2221cc12b59669ec0a51f /src/include/usr/runtime
parentd85536ac35dd97a666b7b8de090f255b1a33c7d8 (diff)
downloadtalos-hostboot-5bdb1f8ec34124c68db869dbb46b27e5a5fc24b5.tar.gz
talos-hostboot-5bdb1f8ec34124c68db869dbb46b27e5a5fc24b5.zip
Populate HDAT TPM Info
Populate TPM Info during the secureboot runtime routine. Change-Id: I02b960c175d51dc9b5941e15a529bd1587747444 RTC:166834 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37187 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> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/runtime')
-rw-r--r--src/include/usr/runtime/runtime.H22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/include/usr/runtime/runtime.H b/src/include/usr/runtime/runtime.H
index 0ece1744a..7086ef55b 100644
--- a/src/include/usr/runtime/runtime.H
+++ b/src/include/usr/runtime/runtime.H
@@ -75,11 +75,29 @@ errlHndl_t populate_hbRuntimeData( void );
* values acquired via the secureboot module from a verified source, and
* so, henceforth are available to the host at runtime.
*
- * @return errlHndl_t NULL on Success
+ * @return errlHndl_t nullptr on Success else pointer to error log
*/
errlHndl_t populate_hbSecurebootData( void );
/**
+ * @brief Populate TPM Info in mainstore
+ *
+ * @description Populates the Secure Boot TPM Instance Info section of HDAT
+ * with trusted information acquired via secure methods, and overwrites
+ * any untrusted information that was already there.
+ *
+ * @return errlHndl_t nullptr on Success else pointer to error log
+ */
+errlHndl_t populate_hbTpmInfo( void );
+
+/**
+ * @brief Fills in Tpm Info in HDAT for current node
+ *
+ * @return errlHndl_t nullptr on success else pointer to error log
+ */
+errlHndl_t populate_TpmInfoByNode();
+
+/**
* @brief Fills in HBRT for given NODE
*
* @param[in] iNodeId : Node number from 0 to 7 ..etc...
@@ -127,6 +145,8 @@ enum SectionId
NACA, //< NACA
HBRT, //< Hostboot Runtime
HBRT_DATA, //< Hostboot Runtime Data
+ IPMI_DATA, //< IPMI Sensor Mapping Data
+ NODE_TPM_RELATED, //< Node TPM Related Data
RESERVED_MEM, //< Hostboot's Reserved Mainstore Memory
LAST_SECTION = RESERVED_MEM //< Placeholder for arrays
};
OpenPOWER on IntegriCloud