commit | 6223ab56b43401eb0fe9201680edc3302294ba9a | [log] [tgz] |
---|---|---|
author | Ben Tyner <ben.tyner@ibm.com> | Tue Mar 02 13:24:57 2021 -0600 |
committer | Ben Tyner <ben.tyner@ibm.com> | Tue Mar 02 13:24:57 2021 -0600 |
tree | e860901d99a9989df57a61f3835e5d782e035346 | |
parent | fc4aa5ecebfbc8d6fab8b0d88d3d9c1bbbcde8ab [diff] |
Fix compiler warning on signed-unsigned compare Compiler was generating a warning for test case that was comparing a constant integer to a size. Cast the constant integer as size_t. Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I7c1c5c852a3cdf0f2f1c6908cc3647c90fa635c3
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