commit | 552992a66a275a046a93922dc14fa551da5a7f05 | [log] [tgz] |
---|---|---|
author | Ben Tyner <ben.tyner@ibm.com> | Thu Apr 15 10:57:17 2021 -0500 |
committer | Ben Tyner <ben.tyner@ibm.com> | Thu Apr 15 14:53:17 2021 -0500 |
tree | 97d25cd6edbefbbe8b83d6f928c49af039af078a | |
parent | 995be6c72a49a5e4fd0d6fd8d4b9d080a245af85 [diff] |
Add build information to binary Build information will be compiled into the binary. An associated function was added to retrieve this information for displaying in applications that consume this library. Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: I68e467c714ea11c0f5639670396617bc0ff51334
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