diff options
Diffstat (limited to 'src/usr/ipmi/ipmirp.H')
-rw-r--r-- | src/usr/ipmi/ipmirp.H | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/usr/ipmi/ipmirp.H b/src/usr/ipmi/ipmirp.H index 9e8832555..0bbbaafb2 100644 --- a/src/usr/ipmi/ipmirp.H +++ b/src/usr/ipmi/ipmirp.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -267,4 +267,18 @@ class IpmiRP IpmiRP(const IpmiRP&); }; +namespace IPMI +{ + /** + * @brief Initiate generic IPMI shutdown/reboot request via the IPMI + * resource provider + * + * @param[in] i_msgType IPMI message type indicating the shutdown or reboot + * to request. Asserts if not a valid shutdown or reboot message type as + * determined by IPMI::validShutdownRebootMsgType(). + */ + void initiateShutdownOrReboot(IPMI::msg_type i_msgType); + +} // End IPMI namespace + #endif |