summaryrefslogtreecommitdiffstats
path: root/globalhandler.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-09-07 19:26:25 -0700
committerPatrick Venture <venture@google.com>2018-09-25 10:06:33 -0700
commit46470a38d0a3b8f29cd8efc4af8a76adcace524a (patch)
treec3e2df8b2a238889aabb14b6ba4efd76c4607364 /globalhandler.hpp
parent87651333c451cfa8090273366be5ec62bd1a9eea (diff)
downloadphosphor-host-ipmid-46470a38d0a3b8f29cd8efc4af8a76adcace524a.tar.gz
phosphor-host-ipmid-46470a38d0a3b8f29cd8efc4af8a76adcace524a.zip
rename headers to match style
Moving headers from ".h" to ".hpp" Reworked the header inclusion a bit so that host-ipmid is treated as a library, and local headers aren't. renamed apphandler.h => apphandler.hpp renamed chassishandler.h => chassishandler.hpp renamed globalhandler.h => globalhandler.hpp renamed sensorhandler.h => sensorhandler.hpp renamed storageaddsel.h => storageaddsel.hpp renamed storagehandler.h => storagehandler.hpp renamed systemintfcmds.h => systemintfcmds.hpp Change-Id: I9d4ce3dd57e2e996800f9020a10cc10cdf2c3914 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'globalhandler.hpp')
-rw-r--r--globalhandler.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/globalhandler.hpp b/globalhandler.hpp
new file mode 100644
index 0000000..23d3b3e
--- /dev/null
+++ b/globalhandler.hpp
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <stdint.h>
+
+// Various GLOBAL operations under a single command.
+enum ipmi_global_control_cmds : uint8_t
+{
+ IPMI_CMD_COLD_RESET = 0x02,
+ IPMI_CMD_WARM_RESET = 0x03,
+};
OpenPOWER on IntegriCloud