diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-09-11 13:32:12 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2019-09-27 14:26:15 -0500 |
commit | 1a94cc38fc2885eac2b7674cc75837debea26eb8 (patch) | |
tree | 953f641dc5f0ee5205bd0694c426dda34590d055 /extensions/openpower-pels/private_header.hpp | |
parent | c8705e2bfcc7582fb7dc89ac1598489712c006f3 (diff) | |
download | phosphor-logging-1a94cc38fc2885eac2b7674cc75837debea26eb8.tar.gz phosphor-logging-1a94cc38fc2885eac2b7674cc75837debea26eb8.zip |
PEL: Move PEL section IDs into a header file
These will eventually need to be known to a piece of code that
unflattens a PEL into the appropriate section class objects based on the
section ID field in the PEL data.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I90b9d4be49b2e3807a620745fa663f94f7f4e62c
Diffstat (limited to 'extensions/openpower-pels/private_header.hpp')
-rw-r--r-- | extensions/openpower-pels/private_header.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/openpower-pels/private_header.hpp b/extensions/openpower-pels/private_header.hpp index 4a8b330..66126a0 100644 --- a/extensions/openpower-pels/private_header.hpp +++ b/extensions/openpower-pels/private_header.hpp @@ -14,8 +14,7 @@ struct CreatorVersion uint8_t version[8]; }; -static constexpr uint16_t privateHeaderSectionID = 0x5048; // 'PH' -static constexpr uint16_t privateHeaderVersion = 0x01; +static constexpr uint8_t privateHeaderVersion = 0x01; static constexpr uint8_t minSectionCount = 2; /** |