summaryrefslogtreecommitdiffstats
path: root/test/openpower-pels/mtms_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PEL: Add license prologue to test source filesMatt Spinler2019-11-061-0/+15
| | | | | Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I67c62ab5ac6e69ad0a84937834581f9a280a9167
* PEL: Add string accessors to MTMS classMatt Spinler2019-10-221-16/+14
| | | | | | | | This class is used by a few other classes, so make it easier to get data out of it. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I2feb4b83a09e6cb6056c9f1a903ca55e8cacf2ae
* PEL: MTMS class to handle the type-model and SNMatt Spinler2019-09-271-0/+109
This class represents the (M)achine (T)ype-(M)odel (S)erial number structure for the PEL, where it is used in both the ExtendedUserHeader and FailingMTMS sections. It consists of an 8 byte machine type+model field of the form TTT-MMMM, followed by a 12 byte machine serial number field. Unused bytes are set to 0. Note that this is not a PEL section itself. It's just used by other PEL sections. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I15f9858e951a913ab2353cf93b7f20cc2709c502
OpenPOWER on IntegriCloud