summaryrefslogtreecommitdiffstats
path: root/user_channel/channel_mgmt.hpp
diff options
context:
space:
mode:
authorRichard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>2018-11-29 06:29:21 +0530
committerRichard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>2018-12-19 01:11:45 +0000
commit6e1ba9effa687791170858cf10aa1c26c0742b75 (patch)
tree916ac96453a1a8e4d791bb43e3393eadc8a5c8ac /user_channel/channel_mgmt.hpp
parent43cb12895039d972e640b992bacf9c13146876ee (diff)
downloadphosphor-host-ipmid-6e1ba9effa687791170858cf10aa1c26c0742b75.tar.gz
phosphor-host-ipmid-6e1ba9effa687791170858cf10aa1c26c0742b75.zip
Doxygen comments for enum & structure
Added doxygen comments for enums & structures for user & channel layers. Unit-test: verified build. Change-Id: Ie5af8d6cdd4c04cb396869b7a3dc44f84efedd19 Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'user_channel/channel_mgmt.hpp')
-rw-r--r--user_channel/channel_mgmt.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/user_channel/channel_mgmt.hpp b/user_channel/channel_mgmt.hpp
index 09d2a71..8cdb9c7 100644
--- a/user_channel/channel_mgmt.hpp
+++ b/user_channel/channel_mgmt.hpp
@@ -38,12 +38,22 @@ static constexpr const char* ipmiChannelMutex = "ipmi_channel_mutex";
static constexpr const char* ipmiChMutexCleanupLockFile =
"/var/lib/ipmi/ipmi_channel_mutex_cleanup";
+/** @struct ChannelAccessData
+ *
+ * Structure to store both non-volatile and volatile channel access information
+ * as used by IPMI specification (refer spec sec 22.22 to 22.24)
+ */
struct ChannelAccessData
{
ChannelAccess chNonVolatileData;
ChannelAccess chVolatileData;
};
+/** @struct ChannelData
+ *
+ * Structure for channel information - base structure to get all information
+ * about the channel.(refer spec sec 22.22 to 22.24)
+ */
struct ChannelData
{
std::string chName;
OpenPOWER on IntegriCloud