PEL: Update system info into HB PEL extended user data section

Hostboot requested BMC add a UserData section containing debug
information like internal code level name and the bmc/host/chassis
states that are added to the BMC PELs. To accomodate this BMC code will
look in incoming PELs for an ED section with specific
compID/version/subtype fields, and then modify it with the appropriate
debug contents as mentioned above.

Test: Verified PEL tool output by injecting error to generate
hostboot PEL

Signed-off-by: Sumit Kumar <sumit_kumar@in.ibm.com>
Change-Id: I72288089f2768412eb9033b121e7f02f72f11fc7
diff --git a/extensions/openpower-pels/pel.hpp b/extensions/openpower-pels/pel.hpp
index d48b346..8b592f7 100644
--- a/extensions/openpower-pels/pel.hpp
+++ b/extensions/openpower-pels/pel.hpp
@@ -291,6 +291,15 @@
      */
     bool isCalloutPresent() const;
 
+    /**
+     * @brief Updates the system info data into HB extended user
+     *        data section to this PEL object
+     *
+     * @param[in] dataIface - The data interface object
+     */
+    void updateSysInfoInExtendedUserDataSection(
+        const DataInterfaceBase& dataIface);
+
   private:
     /**
      * @brief Builds the section objects from a PEL data buffer