summaryrefslogtreecommitdiffstats
path: root/src/include/usr/ipmi
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/ipmi')
-rw-r--r--src/include/usr/ipmi/ipmi_reasoncodes.H1
-rw-r--r--src/include/usr/ipmi/ipmisel.H35
2 files changed, 20 insertions, 16 deletions
diff --git a/src/include/usr/ipmi/ipmi_reasoncodes.H b/src/include/usr/ipmi/ipmi_reasoncodes.H
index 6244b2d00..8040f934b 100644
--- a/src/include/usr/ipmi/ipmi_reasoncodes.H
+++ b/src/include/usr/ipmi/ipmi_reasoncodes.H
@@ -35,6 +35,7 @@ namespace IPMI
MOD_IPMISRV_REPLY = 0x02, // IPMI::respond
MOD_IPMISENSOR = 0x03, // IPMI::sensor
MOD_IPMIDCMI = 0x04, // IPMI::sensor
+ MOD_IPMIRT = 0x05, // rt IPMI::send/IPMI::sendrecv
};
enum IPMIReasonCode
diff --git a/src/include/usr/ipmi/ipmisel.H b/src/include/usr/ipmi/ipmisel.H
index 82d86bf6f..de2dd3218 100644
--- a/src/include/usr/ipmi/ipmisel.H
+++ b/src/include/usr/ipmi/ipmisel.H
@@ -202,8 +202,26 @@ namespace IPMISEL
delete eSelExtra;
}
};
+
+ /**
+ * @brief parse the msg and call send_esel to send the esel (handles if
+ * the SEL reservation is lost)
+ * @param[in] i_msg
+ */
+ void process_esel(msg_t *i_msg);
+
+ /**
+ * @brief do the actual ipmi calls to send the esel data to the bmc
+ * @param[in] i_data esel data
+ * @param[in] o_err any error generated during the send
+ * @param[in] o_cc ipmi completion code from last sendrecv
+ */
+ void send_esel(IPMISEL::eselInitData * i_data,
+ errlHndl_t &o_err, IPMI::completion_code &o_cc);
+
} // namespace IPMISEL
+#ifndef __HOSTBOOT_RUNTIME
class IpmiSEL
{
public:
@@ -238,27 +256,12 @@ class IpmiSEL
*/
void execute(void);
- /**
- * @brief parse the msg and call send_esel to send the esel (handles if
- * the SEL reservation is lost)
- * @param[in] i_msg
- */
- void process_esel(msg_t *i_msg) const;
-
- /**
- * @brief do the actual ipmi calls to send the esel data to the bmc
- * @param[in] i_data esel data
- * @param[in] o_err any error generated during the send
- * @param[in] o_cc ipmi completion code from last sendrecv
- */
- void send_esel(IPMISEL::eselInitData * i_data,
- errlHndl_t &o_err, IPMI::completion_code &o_cc) const;
-
msg_q_t iv_msgQ; //!< ipmi message queue
//Disallow copying of this class.
IpmiSEL& operator=(const IpmiSEL&);
IpmiSEL(const IpmiSEL&);
};
+#endif
#endif
OpenPOWER on IntegriCloud