Add PCIe/memory CPER-JSON parsing.
7 files changed
tree: 7668f89db8765be94e55cff6ffd84b0a25d0c1da
  1. edk/
  2. sections/
  3. specification/
  4. testing/
  5. .gitignore
  6. CMakeLists.txt
  7. cper-parse.c
  8. cper-parse.h
  9. cper-utils.c
  10. cper-utils.h
  11. ir-parse.c
  12. json-schema.c
  13. json-schema.h
  14. README.md
README.md

CPER JSON Representation & Conversion Library

This repository specifies a structure for representing UEFI CPER records (as described in UEFI Specification Appendix N) in a human-readable JSON format, in addition to a library which can readily convert back and forth between the standard CPER binary format and the specified structured JSON.

Building

This project uses CMake (>=3.10). To build, simply run:

cmake .
make

A static library file for the parsing library will be written to lib/, and test executables will be written to bin/.

Specification

The specification for this project can be found in specification/. Specification for the CPER binary format can be found in UEFI Specification Appendix N (2021/03/18).