summaryrefslogtreecommitdiffstats
path: root/chassishandler.h
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2015-10-27 15:58:44 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2015-11-10 13:11:58 -0600
commit40814c6ea395d43afde5e8a3785bdcc89dc094fe (patch)
treeb73e4f20e1a41c4bcd882aec4a20dfacee0449ae /chassishandler.h
parent8f71a6190d17d59f8de49182b0a8f3f063be3146 (diff)
downloadphosphor-host-ipmid-40814c6ea395d43afde5e8a3785bdcc89dc094fe.tar.gz
phosphor-host-ipmid-40814c6ea395d43afde5e8a3785bdcc89dc094fe.zip
Add support for IPMI Get Boot Options command
Create new Chassis NetFn file and add basic support for OPAL to call the IPMI Get Boot Options command.
Diffstat (limited to 'chassishandler.h')
-rw-r--r--chassishandler.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/chassishandler.h b/chassishandler.h
new file mode 100644
index 0000000..99ed366
--- /dev/null
+++ b/chassishandler.h
@@ -0,0 +1,17 @@
+#ifndef __HOST_IPMI_CHASSIS_HANDLER_H__
+#define __HOST_IPMI_CHASSIS_HANDLER_H__
+
+// IPMI commands for Chassis net functions.
+enum ipmi_netfn_app_cmds
+{
+ // Get capability bits
+ IPMI_CMD_GET_SYS_BOOT_OPTIONS = 0x09,
+};
+
+// Command specific completion codes
+enum ipmi_chassis_return_codes
+{
+ IPMI_CC_PARM_NOT_SUPPORTED = 0x80,
+};
+
+#endif
OpenPOWER on IntegriCloud