commit | c09193486e256b2ccc6108ecf7b4a6e7a92edc92 | [log] [tgz] |
---|---|---|
author | Paul Greenwood <Paul.Greenwood@ibm.com> | Tue Dec 10 15:36:17 2019 -0600 |
committer | Zane Shelley <zshelle@us.ibm.com> | Thu Dec 12 11:05:34 2019 -0600 |
tree | 2453182f6a04bdbab00e8d4de0fe2dc19fcdf595 | |
parent | dc47e0afbdf94a73b4e66ce590914bf6c3852aa7 [diff] |
Added getScomReg, getIdScomReg, & associated calls Added getScomReg and getIdScomReg to simulator.hpp. These lookup the register values from a map and return the value. In user_interface.cpp and the registerRead function, added case stanzas that call the above functions, take care of endianness, and pass the data back to the caller through the o_buffer and io_bufSize parameters. Signed-off-by: Paul Greenwood <Paul.Greenwood@ibm.com> Change-Id: Ie07e97d23a2f0a9b0073d99d8744fef91c8586a0
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 is intended to be integrated into containing user applications as a set of source files (either imported, or as a git subtree/submodule).
Details TBD.
__HEI_READ_ONLY
: When defined, it will ensure any hardware write support is disabled. 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.