summaryrefslogtreecommitdiffstats
path: root/extensions/openpower-pels/user_data.hpp
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2019-09-26 11:18:26 -0500
committerMatt Spinler <spinler@us.ibm.com>2019-10-09 08:13:30 -0500
commit07eefc543b36f9fdb7d7b7ff2a64018d0770bc31 (patch)
treed993fad1344da61b981c84d392f18e025503555e /extensions/openpower-pels/user_data.hpp
parent131870c7e9f919c7897f39d29870b87c71c7cba3 (diff)
downloadphosphor-logging-07eefc543b36f9fdb7d7b7ff2a64018d0770bc31.tar.gz
phosphor-logging-07eefc543b36f9fdb7d7b7ff2a64018d0770bc31.zip
PEL: Flatten PEL from objects
Now that the Generic section object has been introduced so there are objects for every section, a flatten can be done by flattening every object inside the PEL and the previous workaround to save the original raw data can be removed. This also adds a test case that uses a real PEL from a previous generation of systems to flatten to give some better coverage than just using hand coded PEL sections. A side affect of this is that the PEL constructors that take the raw data cannot take a const vector of data, as the Stream class that will be used to read from the vector cannot take a const. Testcases have been updated to ensure this data is not modified. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I64ae1d1d4a742c80e14666d6b2a6e1e0efd5fd62
Diffstat (limited to 'extensions/openpower-pels/user_data.hpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud