Add JSON specification of main structures.
6 files changed
tree: 56ea1a9e43d02b6c0b86d5efe56201fb141fb2b8
  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. 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).