PEL: PELTool Application

PELTooL application would be used to interact with PELs. This commit has
the first functionality, where a PEL file is passed and all PEL sections
are hexdumped in a JSON object.

Signed-off-by: Aatir <aatrapps@gmail.com>
Change-Id: I155d75bb58cbd14a297b094314f7fd1f271f4f37
diff --git a/extensions/openpower-pels/pel_values.cpp b/extensions/openpower-pels/pel_values.cpp
index a3127fb..0cf2a1c 100644
--- a/extensions/openpower-pels/pel_values.cpp
+++ b/extensions/openpower-pels/pel_values.cpp
@@ -190,7 +190,31 @@
                         });
 }
 
-} // namespace pel_values
+/**
+ * @brief Map for section IDs
+ */
+const std::map<std::string, std::string> sectionTitles = {
 
+    {"PH", "Private Header"},
+    {"UH", "User Header"},
+    {"PS", "Primary SRC"},
+    {"SS", "Secondary SRC"},
+    {"EH", "Extended User Header"},
+    {"MT", "Failing MTMS"},
+    {"DH", "Dump Location"},
+    {"SW", "Firmware Error"},
+    {"LP", "Impacted Part"},
+    {"LR", "Logical Resource"},
+    {"HM", "HMC ID"},
+    {"EP", "EPOW"},
+    {"IE", "IO Event"},
+    {"MI", "MFG Info"},
+    {"CH", "Call Home"},
+    {"UD", "User Data"},
+    {"EI", "Env Info"},
+    {"ED", "Extended User Data"},
+};
+
+} // namespace pel_values
 } // namespace pels
 } // namespace openpower