summaryrefslogtreecommitdiffstats
path: root/sbe/sbefw/sbeSpMsg.H
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2015-08-03 01:35:40 -0500
committerAmit J. Tendolkar <amit.tendolkar@in.ibm.com>2015-09-16 12:51:18 -0500
commitbe0d20022a9c367d9897c837b0550eb61eab2da9 (patch)
tree255ab86e4b108dae8316e7e66ea4cf94a1d9781d /sbe/sbefw/sbeSpMsg.H
parent0321d657e2008d8c99ed9f671db4405b161ff616 (diff)
downloadtalos-sbe-be0d20022a9c367d9897c837b0550eb61eab2da9.tar.gz
talos-sbe-be0d20022a9c367d9897c837b0550eb61eab2da9.zip
SBE Get Capabilities support
RTC: 128328 Change-Id: Ic00f99ec7214d6080df4edef30bd6722f2a0fa97 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19488 Tested-by: Jenkins Server Reviewed-by: Amit J. Tendolkar <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'sbe/sbefw/sbeSpMsg.H')
-rw-r--r--sbe/sbefw/sbeSpMsg.H17
1 files changed, 17 insertions, 0 deletions
diff --git a/sbe/sbefw/sbeSpMsg.H b/sbe/sbefw/sbeSpMsg.H
index 1c7a8d52..e34922e7 100644
--- a/sbe/sbefw/sbeSpMsg.H
+++ b/sbe/sbefw/sbeSpMsg.H
@@ -145,6 +145,23 @@ typedef struct
uint32_t minor:8;
}sbeIstepReqMsg_t;
+// Maximum number of capabilities
+static const uint32_t SBE_MAX_CAPABILITIES = 18;
+
+/**
+ * @brief structure for SBE Get Capabilities chipop (0xA802) contents.
+ *
+ */
+typedef struct sbeCapabilityRespMsg
+{
+ uint32_t verMajor:16;
+ uint32_t verMinor:16;
+ uint32_t fwCommitId;
+ uint32_t capability[SBE_MAX_CAPABILITIES];
+ // ctor. constructor will initialise all values.
+ sbeCapabilityRespMsg();
+}sbeCapabilityRespMsg_t;
+
// TODO via RTC 128658
// We may be able to replace this structure by sbeResponseGenericHeader_t
OpenPOWER on IntegriCloud