summaryrefslogtreecommitdiffstats
path: root/error-HostEvent.hpp
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-10-31 17:25:33 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2017-11-03 17:55:15 +0530
commitb647d5be78df54b3dab6a91476412474a6cb7e1d (patch)
treeb0a547cbbcdc6cb518f8d1a38f66c051c6f0f201 /error-HostEvent.hpp
parentb0b395b670b6e496dda0ce117e1b5a1e195ab0e9 (diff)
downloadphosphor-host-ipmid-b647d5be78df54b3dab6a91476412474a6cb7e1d.tar.gz
phosphor-host-ipmid-b647d5be78df54b3dab6a91476412474a6cb7e1d.zip
Commit a MaintenanceProcedure log entry on a 0xDE SEL record
In the case of a procedure callout, HB sends a eSEL of 0xDF type. It is followed by a Add SEL record with OEM record type 0xDE and byte 11 in the record indicate the procedure associated with the eSEL. Resolves openbmc/openbmc#2368 Change-Id: Ia57f423c9d533cd8968b613d7522b409a9820198 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'error-HostEvent.hpp')
-rw-r--r--error-HostEvent.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/error-HostEvent.hpp b/error-HostEvent.hpp
index 186e28e..40872a1 100644
--- a/error-HostEvent.hpp
+++ b/error-HostEvent.hpp
@@ -26,6 +26,19 @@ struct Event final : public sdbusplus::exception_t
const char* what() const noexcept override;
};
+struct MaintenanceProcedure final : public sdbusplus::exception_t
+{
+ static constexpr auto errName = "org.open_power.Host.Error.MaintenanceProcedure";
+ static constexpr auto errDesc =
+ "A host system event with a procedure callout";
+ static constexpr auto errWhat =
+ "org.open_power.Host.Error.MaintenanceProcedure: A host system event with a procedure callout";
+
+ const char* name() const noexcept override;
+ const char* description() const noexcept override;
+ const char* what() const noexcept override;
+};
+
} // namespace Error
} // namespace Host
} // namespace open_power
OpenPOWER on IntegriCloud