google-ipmi-sys: initial commit: OEM IPMI handler
This implements a set of OEM IPMI commands built as sub-commands under
one OEM IPMI command registered in the Google OEM Namespace.
Change-Id: I65ff6f35838b501ac6ac67f7765bbc474b808660
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.hpp b/main.hpp
new file mode 100644
index 0000000..f34e2a3
--- /dev/null
+++ b/main.hpp
@@ -0,0 +1,21 @@
+#pragma once
+
+namespace google
+{
+namespace ipmi
+{
+
+enum SysOEMCommands
+{
+ // The Sys cable check command.
+ SysCableCheck = 0,
+ // The Sys cpld version over ipmi command.
+ SysCpldVersion = 1,
+ // The Sys get eth device command.
+ SysGetEthDevice = 2,
+ // The Sys psu hard reset command.
+ SysPsuHardReset = 3,
+};
+
+} // namespace ipmi
+} // namespace google