1 #ifndef CPER_SECTION_FIRMWARE_H 2 #define CPER_SECTION_FIRMWARE_H 3 4 #include "json.h" 5 #include "../edk/Cper.h" 6 7 #define FIRMWARE_ERROR_RECORD_TYPES_KEYS (int []){0, 1, 2} 8 #define FIRMWARE_ERROR_RECORD_TYPES_VALUES (const char*[]){"IPF SAL Error Record", \ 9 "SOC Firmware Error Record (Type1 Legacy)", "SOC Firmware Error Record (Type2)"} 10 11 json_object* cper_section_firmware_to_ir(void* section, EFI_ERROR_SECTION_DESCRIPTOR* descriptor); 12 13 #endif