summaryrefslogtreecommitdiffstats
path: root/extensions/openpower-pels/severity.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PEL: Add license prologue to source filesMatt Spinler2019-11-061-0/+15
| | | | | Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I31b12f509d32b79064a8a427af35e6a310273051
* PEL: Move severity type enums to a headerMatt Spinler2019-11-041-20/+7
| | | | | | | Move them to a header file so other files can use them in the future. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Icb604489e9629724a79d2fc8b110e461b6aa6e01
* PEL: OpenBMC event log sev to PEL sev helperMatt Spinler2019-10-091-0/+54
Add a function to map the OpenBMC event log severity values to PEL severity values. When creating a PEL from an OpenBMC event log, the event log will have its own severity property, and if the PEL message registry entry for that error doesn't supply its own severity (it's optional), use this function to come up with the PEL severity value to use. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I66aa001265d8acadb165de874e4ade03a8e28007
OpenPOWER on IntegriCloud