oem-ibm: Support bios attributes for boot types
This commit adds support to two bios attributes, boot
initiator and boot type, which lets the host know who
initiated the boot through boot initiator, and what type of
boot(boot or reboot) through the boot type attribute
Change-Id: Iec4bc4ceec3a48ffd3f59b4d31f419c8806187ac
Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/libpldmresponder/oem_handler.hpp b/libpldmresponder/oem_handler.hpp
index 8215b37..d8ca132 100644
--- a/libpldmresponder/oem_handler.hpp
+++ b/libpldmresponder/oem_handler.hpp
@@ -124,6 +124,12 @@
* */
virtual void setSurvTimer(uint8_t tid, bool value) = 0;
+ /** @brief To handle the boot types bios attributes at power on*/
+ virtual void handleBootTypesAtPowerOn() = 0;
+
+ /** @brief To handle the boot types bios attributes at shutdown*/
+ virtual void handleBootTypesAtChassisOff() = 0;
+
virtual ~Handler() = default;
protected: