oem-ibm: Sync boot side file with bios attributes
This change adds support to update the boot side file to keep it
in sync with boot side bios attributes
Change-Id: I2bea293500c69a883f400ddaadc436705bbe5ab4
Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/libpldmresponder/bios.hpp b/libpldmresponder/bios.hpp
index eab143e..d6d7bbb 100644
--- a/libpldmresponder/bios.hpp
+++ b/libpldmresponder/bios.hpp
@@ -92,6 +92,17 @@
Response setBIOSAttributeCurrentValue(const pldm_msg* request,
size_t payloadLength);
+ pldm::responder::oem_bios::Handler* oemBiosHandler = nullptr;
+
+ /** @brief Set OEM bios handler
+ *
+ * @param[in] oemBiosHandler - OEM Bios handler
+ */
+ inline void setOemBiosHandler(pldm::responder::oem_bios::Handler* handler)
+ {
+ biosConfig.setOemBiosHandler(handler);
+ }
+
private:
BIOSConfig biosConfig;
};