diff options
author | Joel Stanley <joel@jms.id.au> | 2015-02-05 13:40:05 +1030 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-09 14:19:44 +1100 |
commit | e8ffc3caadf6e5ddbcd0910ae239eb1be0fdb381 (patch) | |
tree | af051f0c47e70b3eae331618f4b96bde07875349 /include/opal.h | |
parent | 77e4b445025b05d4da12862e34a47519d0a64868 (diff) | |
download | blackbird-skiboot-e8ffc3caadf6e5ddbcd0910ae239eb1be0fdb381.tar.gz blackbird-skiboot-e8ffc3caadf6e5ddbcd0910ae239eb1be0fdb381.zip |
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/opal.h')
-rw-r--r-- | include/opal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opal.h b/include/opal.h index 2da0929c..10e2bc6d 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, |