Correct model-specific error code checks for IERR logging

The model-specific error code holds a byte value that is a
specific code.  The current logic incorrectly checks if bits
are set rather than checking the full code.

This changes the code to extract the error code byte and compare
the full value with the expected error codes.

Tested:
Injected an IERR and confirmed that the model-specific error code
is correctly checked.

Change-Id: I671109aecf1ae5bbf707adaefaf47e95f09ca248
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
1 file changed
tree: af63bf3715835a758c8552e1cd05dd596a7240f7
  1. service_files/
  2. src/
  3. .clang-format
  4. cmake-format.json
  5. CMakeLists.txt
  6. LICENSE
  7. MAINTAINERS
  8. 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.