Move commands from ipmi-providers

Many commands were in ipmi-providers and need to be moved into the
active development library (intel-ipmi-oem). This copies wholesale
those commands, even though many need to be rewritten to use the new
ipmi providers API.

Tested-by: build and see that the commands are still present even when
           the ipmi-providers library is removed

Change-Id: If326f5d7844adeed7da2d3b7a2f1d3eeeea43b29
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/non-yocto/xyz/openbmc_project/Smbios/MDR_V2/error.hpp b/non-yocto/xyz/openbmc_project/Smbios/MDR_V2/error.hpp
new file mode 100644
index 0000000..e26c13d
--- /dev/null
+++ b/non-yocto/xyz/openbmc_project/Smbios/MDR_V2/error.hpp
@@ -0,0 +1,63 @@
+#pragma once
+
+#include <sdbusplus/exception.hpp>
+
+namespace sdbusplus
+{
+namespace xyz
+{
+namespace openbmc_project
+{
+namespace Smbios
+{
+namespace MDR_V2
+{
+namespace Error
+{
+
+struct InvalidParameter final : public sdbusplus::exception_t
+{
+    static constexpr auto errName =
+        "xyz.openbmc_project.Smbios.MDR_V2.Error.InvalidParameter";
+    static constexpr auto errDesc = "An invalid parameter is attempted.";
+    static constexpr auto errWhat =
+        "xyz.openbmc_project.Smbios.MDR_V2.Error.InvalidParameter: An invalid "
+        "parameter is attempted.";
+
+    const char* name() const noexcept override;
+    const char* description() const noexcept override;
+    const char* what() const noexcept override;
+};
+
+struct UpdateInProgress final : public sdbusplus::exception_t
+{
+    static constexpr auto errName =
+        "xyz.openbmc_project.Smbios.MDR_V2.Error.UpdateInProgress";
+    static constexpr auto errDesc = "Update is in progress.";
+    static constexpr auto errWhat = "xyz.openbmc_project.Smbios.MDR_V2.Error."
+                                    "UpdateInProgress: Update is in progress.";
+
+    const char* name() const noexcept override;
+    const char* description() const noexcept override;
+    const char* what() const noexcept override;
+};
+
+struct InvalidId final : public sdbusplus::exception_t
+{
+    static constexpr auto errName =
+        "xyz.openbmc_project.Smbios.MDR_V2.Error.InvalidId";
+    static constexpr auto errDesc = "An invalid Id is attempted.";
+    static constexpr auto errWhat = "xyz.openbmc_project.Smbios.MDR_V2.Error."
+                                    "InvalidId: An invalid Id is attempted.";
+
+    const char* name() const noexcept override;
+    const char* description() const noexcept override;
+    const char* what() const noexcept override;
+};
+
+} // namespace Error
+} // namespace MDR_V2
+} // namespace Smbios
+} // namespace openbmc_project
+} // namespace xyz
+} // namespace sdbusplus