OEM IBM: Platform: event framework to send events to PHYP
This commit consists of APIs that will be used to send code update
event change/update PlatformEventMessage to Phyp for different
stages of inband code update progress.
The event is a state sensor event.
Signed-off-by: Varsha Kaverappa <vkaverap@in.ibm.com>
Change-Id: I9b4b0493dd6886805044011d994df58b31f80a6e
diff --git a/pldmd/pldmd.cpp b/pldmd/pldmd.cpp
index 7bf2aa4..59018b6 100644
--- a/pldmd/pldmd.cpp
+++ b/pldmd/pldmd.cpp
@@ -201,8 +201,7 @@
std::unique_ptr<pldm::responder::CodeUpdate> codeUpdate =
std::make_unique<pldm::responder::CodeUpdate>(dbusHandler.get());
oemPlatformHandler = std::make_unique<oem_ibm_platform::Handler>(
- dbusHandler.get(), codeUpdate.get());
-
+ dbusHandler.get(), codeUpdate.get(), sockfd, hostEID, dbusImplReq);
codeUpdate->setOemPlatformHandler(oemPlatformHandler.get());
invoker.registerHandler(
PLDM_OEM, std::make_unique<oem_ibm::Handler>(oemPlatformHandler.get()));