summaryrefslogtreecommitdiffstats
path: root/src/usr/ipmi/ipmirp.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/ipmi/ipmirp.H')
-rw-r--r--src/usr/ipmi/ipmirp.H9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/ipmi/ipmirp.H b/src/usr/ipmi/ipmirp.H
index 2edf24e9a..d1ebaad7d 100644
--- a/src/usr/ipmi/ipmirp.H
+++ b/src/usr/ipmi/ipmirp.H
@@ -193,6 +193,12 @@ class IpmiRP
*/
void getInterfaceCapabilities(void);
+ /**
+ * @brief Clean up resources and reply to shutdown msg
+ * @param[in] void
+ */
+ void shutdownNow(void);
+
msg_q_t iv_msgQ; //!< ipmi mesage queue
IPMI::send_q_t iv_sendq; //!< msg to send queue
IPMI::timeout_q_t iv_timeoutq; //!< msgs waiting for a timeout
@@ -218,6 +224,9 @@ class IpmiRP
// Recomended number of retries
uint8_t iv_retries;
+ // Shutdown
+ msg_t * iv_shutdown_msg; //!< shutdown msg to respond to
+ bool iv_shutdown_now; //!< shutdown now
// Disallow copying this class.
IpmiRP& operator=(const IpmiRP&);
OpenPOWER on IntegriCloud