commit | 7667b719704b1a8143e6843578a491730491ab58 | [log] [tgz] |
---|---|---|
author | Zane Shelley <zshelle@us.ibm.com> | Mon May 11 20:45:40 2020 -0500 |
committer | Zane Shelley <zshelle@us.ibm.com> | Wed May 13 21:23:54 2020 +0000 |
tree | cc6e1400b1032a39ef39feba8ceedb794a658d3a | |
parent | c11f23c200e540cfb5eb8e634eed0771fc1d5ef1 [diff] |
Replace RegisterAccessLevel_t with RegisterAttributeFlags_t The Chip Data File format allows for an 8-bit attribute flag field, two of which determine the register access level. Using a query function to get the access level information from the attribute field instead of having separate member variables per flag. Change-Id: Ica4e408910e23ab8419964c35830ced5aa435d97 Signed-off-by: Zane Shelley <zshelle@us.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:
See the primary API definitions for details on how to use this library.
This library can be integrated into a user application's source (either imported, or as a git subtree/submodule) or built as static library.
__HEI_ENABLE_HW_WRITE
: When defined, it will allow hardware write support. 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.For a standard OpenBMC release build, you want something like:
meson setup -Dtests=disabled <build_dir> ninja -C <build_dir> ninja -C <build_dir> install
For a test / debug build, a typical configuration is:
meson setup -Dtests=enabled <build_dir> meson test -C <build_dir>