#ifndef CPER_SECTION_CCIX_PER_H #define CPER_SECTION_CCIX_PER_H #ifdef __cplusplus extern "C" { #endif #include #include #define CCIX_PER_ERROR_VALID_BITFIELD_NAMES \ (const char *[]) \ { \ "ccixSourceIDValid", "ccixPortIDValid", "ccixPERLogValid" \ } /// /// CCIX PER Log Error Section /// typedef struct { UINT32 Length; UINT64 ValidBits; UINT8 CcixSourceId; UINT8 CcixPortId; UINT16 Reserved; } __attribute__((packed, aligned(1))) EFI_CCIX_PER_LOG_DATA; json_object *cper_section_ccix_per_to_ir(void *section); void ir_section_ccix_per_to_cper(json_object *section, FILE *out); #ifdef __cplusplus } #endif #endif