summaryrefslogtreecommitdiffstats
path: root/systemintfcmds.h
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-03-21 22:58:28 -0500
committerAndrew Geissler <andrewg@us.ibm.com>2017-05-09 12:50:39 -0500
commit1286637013b65a615e37d8677d75a1bba4c53e4b (patch)
treeaae064436865ce2f3d4bb44c42e52e8449294694 /systemintfcmds.h
parent1b9d4e5c676f5f2fd35583dc5e3459783a650578 (diff)
downloadphosphor-host-ipmid-1286637013b65a615e37d8677d75a1bba4c53e4b.tar.gz
phosphor-host-ipmid-1286637013b65a615e37d8677d75a1bba4c53e4b.zip
Implement basic queue for sending multiple commands
Sends dbus signal upon completion of command Change-Id: Ic507f35af0b38305eecd5558c55738f2d283aac5 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'systemintfcmds.h')
-rw-r--r--systemintfcmds.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemintfcmds.h b/systemintfcmds.h
index 19526f6..d603aaa 100644
--- a/systemintfcmds.h
+++ b/systemintfcmds.h
@@ -13,6 +13,8 @@
#define SOFT_OFF 0x00
// Major command for Any kind of power ops
#define CMD_POWER 0x04
+// Major command for the heartbeat operation (verify host is alive)
+#define CMD_HEARTBEAT 0xFF
// IPMI commands used via System Interface functions.
enum ipmi_netfn_system_intf_cmds
OpenPOWER on IntegriCloud