Added registry entries for Platform firmware event

Added message registry entries for logging platform firmware
error, panic events and recovery events w.r.t specific
components like BMC, BIOS, ME and CPLD ROT.
These are useful for logging error/events, when the platform
firmware components Like BMC, BIOS, ME and CPLD are compromised
and automatic recovery actions are triggered.
E.g: Can be used if BIOS/BMC or any platform firmware primary
     image boot failed, and secondary image is loaded.

Tested:
Using below URI and Method, verified the registry entries.
URI: /redfish/v1/Registries/OpenBMC/OpenBMC
METHOD: GET

Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
Change-Id: Id797dafe6b88ac69ea0fde27ae45980610e29620
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 6b0acd0..99444d0 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -29,7 +29,7 @@
     "0.1.0",
     "OpenBMC",
 };
-const std::array<MessageEntry, 118> registry = {
+const std::array<MessageEntry, 130> registry = {
     MessageEntry{
         "ADDDCCorrectable",
         {
@@ -55,6 +55,39 @@
             {},
             "None.",
         }},
+    MessageEntry{"BIOSFirmwarePanicReason",
+                 {
+                     "Indicates the reason for BIOS firmware panic.",
+                     "BIOS firmware panic occurred due to %1.",
+                     "Warning",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
+    MessageEntry{"BIOSFirmwareRecoveryReason",
+                 {
+                     "Indicates the reason for BIOS firmware recovery.",
+                     "BIOS firmware recovery occurred due to %1.",
+                     "Warning",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
+    MessageEntry{"BIOSFirmwareResiliencyError",
+                 {
+                     "Indicates BIOS firmware encountered resilience error.",
+                     "BIOS firmware resiliency error. Error reason: %1.",
+                     "Critical",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
     MessageEntry{"BIOSPOSTError",
                  {
                      "Indicates BIOS POST has encountered an error.",
@@ -82,6 +115,39 @@
                      {},
                      "None.",
                  }},
+    MessageEntry{"BMCFirmwarePanicReason",
+                 {
+                     "Indicates the reason for last BMC firmware panic.",
+                     "BMC firmware panic occurred due to %1.",
+                     "Warning",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
+    MessageEntry{"BMCFirmwareRecoveryReason",
+                 {
+                     "Indicates the reason for last BMC firmware recovery.",
+                     "BMC firmware recovery occurred due to %1.",
+                     "Warning",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
+    MessageEntry{"BMCFirmwareResiliencyError",
+                 {
+                     "Indicates BMC firmware encountered resilience error.",
+                     "BMC firmware resiliency error. Error reason: %1.",
+                     "Critical",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
     MessageEntry{"ChassisIntrusionDetected",
                  {
                      "Indicates that a physical security event "
@@ -101,7 +167,39 @@
                      {},
                      "None.",
                  }},
-
+    MessageEntry{"CPLDFirmwarePanicReason",
+                 {
+                     "Indicates the reason for CPLD firmware panic.",
+                     "CPLD firmware panic occurred due to %1.",
+                     "Warning",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
+    MessageEntry{"CPLDFirmwareRecoveryReason",
+                 {
+                     "Indicates the reason for CPLD firmware recovery.",
+                     "CPLD firmware recovery occurred due to %1.",
+                     "Warning",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
+    MessageEntry{"CPLDFirmwareResiliencyError",
+                 {
+                     "Indicates CPLD firmware encountered resilience error.",
+                     "CPLD firmware resiliency error. Error reason: %1.",
+                     "Critical",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
     MessageEntry{"CPUError",
                  {
                      "Indicates that a CPU Error occurred of "
@@ -375,6 +473,39 @@
                      {},
                      "None.",
                  }},
+    MessageEntry{"MEFirmwarePanicReason",
+                 {
+                     "Indicates the reason for ME firmware panic.",
+                     "ME firmware panic occurred due to %1.",
+                     "Warning",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
+    MessageEntry{"MEFirmwareRecoveryReason",
+                 {
+                     "Indicates the reason for ME firmware recovery.",
+                     "ME firmware recovery occurred due to %1.",
+                     "Warning",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
+    MessageEntry{"MEFirmwareResiliencyError",
+                 {
+                     "Indicates ME firmware encountered resilience error.",
+                     "ME firmware resiliency error. Error reason: %1.",
+                     "Critical",
+                     1,
+                     {
+                         "string",
+                     },
+                     "None.",
+                 }},
     MessageEntry{"MemoryECCCorrectable",
                  {
                      "Indicates a Correctable Memory ECC error.",