Monitor UCD90160 for faults at runtime

Add the RuntimeMonitor class that will monitor the
UCD90160 faults in 2 ways:

1) Watch for the PowerLost signal, meaning system
   PGOOD was lost.  When it occurs, analyze the
   chip for errors and then issue a proper shutdown
   so a faulted device doesn't keep getting power.

2) Poll on an interval for nonfatal errors that need
   to be logged but don't cause a PGOOD loss.

The main executable can now launch either the PGOODMonitor
or the RuntimeMonitor based on commandline arguments.

Change-Id: If2856f173d5d6288d8333538334b4b4cb4a60097
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
5 files changed
tree: adaa2ddc8ffa36b35343defe8e98f7c900806195
  1. power-sequencer/
  2. xyz/
  3. .gitignore
  4. argument.hpp
  5. bootstrap.sh
  6. configure.ac
  7. device.hpp
  8. device_monitor.hpp
  9. elog-errors.hpp
  10. event.hpp
  11. file.hpp
  12. LICENSE
  13. Makefile.am
  14. pmbus.cpp
  15. pmbus.hpp
  16. README.md
  17. timer.cpp
  18. timer.hpp
  19. utility.cpp
  20. utility.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.