#
42828bd9 |
| 11-Oct-2019 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Refactor the test data factory
This commit has no functional changes, it just does some things to make the PEL data creator for testcases, pelDataFactory(), be more manageable:
- Change to ret
PEL: Refactor the test data factory
This commit has no functional changes, it just does some things to make the PEL data creator for testcases, pelDataFactory(), be more manageable:
- Change to return a plain vector instead of a unique_ptr<vector>. - Keeps the data for each section in separate vectors and then either returns those as-is or combines them into a PEL. - Change the TestPelType enum to TestPELType to match the style guide. - Have pelDataFactory provide the SRC section instead of srcDataFactory.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I4770aa6a8169e89b6b8f685a9994d845c9e93cfe
show more ...
|
#
14d671fa |
| 25-Sep-2019 |
Matt Spinler <spinler@us.ibm.com> |
PEL: Add a Generic section object
This object will be created when unflattening a PEL when there is no other class to use for that section. It just contains a vector<uint8_t> for its data.
This is
PEL: Add a Generic section object
This object will be created when unflattening a PEL when there is no other class to use for that section. It just contains a vector<uint8_t> for its data.
This is done so that the code can always have objects for all PEL sections, which helps in validating (can at least ensure every section has a valid header and size), printing (will always have an object to get its data to at least hex dump), and re-flattening (no need to keep around the original data buffer).
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I2b79feb4abc0f44179bdb8eab950f0d274e4e472
show more ...
|