commit | 31a548851d0aab24044bb825460eb5b365ad3109 | [log] [tgz] |
---|---|---|
author | Paul Greenwood <Paul.Greenwood@ibm.com> | Thu Aug 01 17:05:09 2019 -0500 |
committer | Zane Shelley <zshelle@us.ibm.com> | Tue Aug 13 19:44:16 2019 +0000 |
tree | 4fcc77519f2582b990d5a3752618e6aaa5a7aa57 | |
parent | ea1a1ac7e70ba9189aa340e054e4273bb840ac18 [diff] |
Added ChipDataStream class ChipDataStream makes it possible to read a buffer of binary data using the stream operators, ">>". Instantiate ChipDataStream class with a pointer to a data buffer and its size in bytes as below: ChipDataStream cds(streamData,552); Use the ">>" stream operator then to read the basic integral types (bool, char, uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t, uint64_t, and int64_t). Change-Id: I8b99e1112c6c05a240dc5a9d9f7326d7c6842fd5 Signed-off-by: Paul Greenwood <Paul.Greenwood@ibm.com>
This library is a common, portable code base for isolating errors reported by hardware registers on POWER Systems chips.
The primary consumers (and requirements drivers) will be:
The primary APIs are in the Isolator class. See the class definition for details on how to use it.
This library is intended to be integrated into containing user applications as a set of source files (either imported, or as a git subtree/submodule).
Details TBD.
__HEI_READ_ONLY
: When defined, it will ensure any hardware write support is disabled. Note that the Chip Data Files will contain rules for clearing and masking register bits. Both of which will require modifying hardware registers, which is not allowed by user applications like OpenBMC or FSP firmware.src/include/
in the POWER Systems Hostboot firmware.