commit | cef6349ad57fd1db16f3206262a0a77734e5548c | [log] [tgz] |
---|---|---|
author | Zane Shelley <zshelle@us.ibm.com> | Mon Jan 11 16:52:40 2021 -0600 |
committer | Zane Shelley <zshelle@us.ibm.com> | Tue Jan 12 02:31:30 2021 +0000 |
tree | e3cebcfa3bf143fd27bacdee99d139365925387a | |
parent | f8a726b7cf54ad457aff25389db1c43fc277c13d [diff] |
Proper handling for unused parameter Instead of ignoring the parameter warning via a compile flag we can explicitly not give the parameter a valiable name. The compile will then know that that the parameter is not expected to be used. Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: I140f07eaad737f44c4791f37249f89849da15cae
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