PEL: Write terminating SRC to the progress SRC

Check for incoming pels for severity type 0x51 - Critical error,
System termination. If found, fetch the SRC and add this SRC to
progress SRC interface on dbus. In addition set the terminate bit
in BMC created pels only.

Signed-off-by: Sumit Kumar <sumit_kumar@in.ibm.com>
Change-Id: I26194a26743263183dcb61e097c745c4705fa006
diff --git a/extensions/openpower-pels/manager.hpp b/extensions/openpower-pels/manager.hpp
index a9476d5..e4c4953 100644
--- a/extensions/openpower-pels/manager.hpp
+++ b/extensions/openpower-pels/manager.hpp
@@ -253,6 +253,13 @@
      */
     uint32_t getBMCLogIdFromPELId(uint32_t pelId) override;
 
+    /**
+     * @brief Update boot progress SRC based on severity 0x51, critical error
+     *
+     * @param[in] pel - The PEL to use
+     */
+    void updateProgressSRC(std::unique_ptr<openpower::pels::PEL>& pel) const;
+
   private:
     /**
      * @brief Adds a received raw PEL to the PEL repository