aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2015-02-05 13:40:05 +1030
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-09 14:19:44 +1100
commite8ffc3caadf6e5ddbcd0910ae239eb1be0fdb381 (patch)
treeaf051f0c47e70b3eae331618f4b96bde07875349 /include
parent77e4b445025b05d4da12862e34a47519d0a64868 (diff)
downloadskiboot-e8ffc3caadf6e5ddbcd0910ae239eb1be0fdb381.zip
skiboot-e8ffc3caadf6e5ddbcd0910ae239eb1be0fdb381.tar.gz
skiboot-e8ffc3caadf6e5ddbcd0910ae239eb1be0fdb381.tar.bz2
ipmi: Message Linux to perform graceful shutdown
This sends the previously unused OPAL_MSG_SHUTDOWN using opal_queue_msg to initiate a graceful shutdown. The message provides a single parameter indicating weather the shutdown is will result in a power-off, or a reboot. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/opal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opal.h b/include/opal.h
index 2da0929..10e2bc6 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -400,7 +400,7 @@ enum OpalMessageType {
*/
OPAL_MSG_MEM_ERR,
OPAL_MSG_EPOW,
- OPAL_MSG_SHUTDOWN,
+ OPAL_MSG_SHUTDOWN, /* params[0] = 1 reboot, 0 shutdown */
OPAL_MSG_HMI_EVT,
OPAL_MSG_DPO,
OPAL_MSG_TYPE_MAX,