commit | fefc0169ed53c40f32f5011af753a83de355a4ea | [log] [tgz] |
---|---|---|
author | Zane Shelley <zshelle@us.ibm.com> | Mon Dec 20 17:29:46 2021 -0600 |
committer | Zane Shelley <zshelle@us.ibm.com> | Tue Dec 21 11:51:34 2021 -0600 |
tree | 6d8489a0065fad12897e32e6ce0a72754e7879a1 | |
parent | c0d0f36139346a28e79cdfd77905d8fa8fdefc71 [diff] |
create fallback gtest subproject dependency Allows project to be built and tested locally. Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: I0965581e5b2bc006a0edfcd05a6fea996f3f6ec2
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 -Dtests=disabled <build_dir> ninja -C <build_dir> ninja -C <build_dir> install
For a test / debug build, a typical configuration is:
meson -Dtests=enabled <build_dir> ninja -C <build_dir> test