Use an enum to specify the type of recovery to perform

Different error types may require a different type of recovery, so
rather than setting a single recovery type, this adds an enum to let
each error monitor specify the type of recovery to perform.

Tested:
Set a different type of recovery for the err2 and ierr monitors and
confirmed that the correct recovery was performed.

Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Change-Id: I831c70f71b9bbad4d99b6e5db31067e87e5711f8
3 files changed
tree: 8d9612ddf2a6bef86456efa24b951bca1908caee
  1. include/
  2. service_files/
  3. src/
  4. .clang-format
  5. cmake-format.json
  6. CMakeLists.txt
  7. LICENSE
  8. MAINTAINERS
  9. OWNERS
  10. README.md
README.md

host-error-monitor

The host-error-monitor application is intended to monitor various host error signals and take appropriate action (logging, crashdump, reset, etc.) when triggered.