libpldmresponder: implement setStateEffecterStates

This commit implements the handler for setStateEffecterStates response.
Apart from that it actually sets the effecter for PLDM_BOOT_PROGRESS
state. This is used when host sends setStateEffecterStates to mark
any change in hypervisor state. The currently supported states are
"StandBy" and "BootComplete" as per
xyz.openbmc_project.State.OperatingSystem.Status

Change-Id: I205627b2b8a796a0dd4a200ac3d59c1d19d71f01
Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
diff --git a/pldmd.cpp b/pldmd.cpp
index 0034bcb..5623975 100644
--- a/pldmd.cpp
+++ b/pldmd.cpp
@@ -1,5 +1,6 @@
 #include "libpldmresponder/base.hpp"
 #include "libpldmresponder/bios.hpp"
+#include "libpldmresponder/platform.hpp"
 #include "libpldmresponder/utils.hpp"
 #include "registration.hpp"
 
@@ -24,6 +25,7 @@
 
 #include "libpldm/base.h"
 #include "libpldm/bios.h"
+#include "libpldm/platform.h"
 
 #ifdef OEM_IBM
 #include "libpldmresponder/file_io.hpp"
@@ -130,6 +132,7 @@
 
     pldm::responder::base::registerHandlers();
     pldm::responder::bios::registerHandlers();
+    pldm::responder::platform::registerHandlers();
 
     // Outgoing message.
     struct iovec iov[2]{};