summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/util/utilmclmgr.H25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/include/usr/util/utilmclmgr.H b/src/include/usr/util/utilmclmgr.H
index 1d47523b4..82ef6f2ed 100644
--- a/src/include/usr/util/utilmclmgr.H
+++ b/src/include/usr/util/utilmclmgr.H
@@ -48,6 +48,7 @@ typedef char CompIdString[17];
// Constants to simplify checking for the MCL and POWERVM comp ids
extern const ComponentID g_MclCompId;
extern const ComponentID g_PowervmCompId;
+extern const ComponentID g_OpalCompId;
// @enum Permission Types for MCL Component
enum class CompFlags : uint16_t
@@ -255,6 +256,17 @@ class MasterContainerLidMgr
*/
errlHndl_t processComponents();
+ /**
+ * @brief TPM extend information for secure components
+ *
+ * @param[in] i_compId - Component Id
+ * @param[in] i_conHdr - Container header with information to extend
+ *
+ * @return Error handle if error
+ */
+ static errlHndl_t tpmExtend(const ComponentID& i_compId,
+ const SECUREBOOT::ContainerHeader& i_conHdr);
+
protected:
/**
@@ -358,17 +370,6 @@ class MasterContainerLidMgr
errlHndl_t verifyExtend(const ComponentID& i_compId,
CompInfo& io_compInfo);
- /**
- * @brief TPM extend information for secure components
- *
- * @param[in] i_compId - Component Id
- * @param[in] i_conHdr - Container header with information to extend
- *
- * @return Error handle if error
- */
- errlHndl_t tpmExtend(const ComponentID& i_compId,
- const SECUREBOOT::ContainerHeader& i_conHdr) const;
-
// Physical addresses reserved for the MCL itself
uint64_t iv_mclAddr;
@@ -408,4 +409,4 @@ class MasterContainerLidMgr
} // end namespace MCL
-#endif \ No newline at end of file
+#endif
OpenPOWER on IntegriCloud