Add overflow flag checking

This is to ensure that we check for and flag buffer overflow flag from
the BIOS.

The logic should be:

```
1. BIOS_switch ^ BMC_switch == 0 → No overflow incident
  a. CONTINUE
2. BIOS_switch ^ BMC_switch == 1 → an unlogged overflow incident has occurred
  b. Log the overflow incident
  c. Toggle the BMC overflow flag
```

Tested: Added unit test

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I25c50a8de93900480413389d7d2a89b9be4b5643
4 files changed
tree: 35b35c1c0b33c915af5a2293527b98bc3df0f24f
  1. include/
  2. service_files/
  3. src/
  4. subprojects/
  5. test/
  6. .clang-format
  7. .gitignore
  8. LICENSE
  9. meson.build
  10. meson.options
  11. OWNERS
  12. README.md
README.md

bios-bmc-smm-error-logger

This daemon will follow the design doc: https://github.com/openbmc/docs/blob/master/designs/bios-bmc-smm-error-logging.md

More detailed implementation details will also be placed here in the future