blob: 012f88f807c51c95f776aae613e42c33e0ca0f23 [file] [log] [blame]
Lawrence Tang8f977452022-08-24 14:55:07 +01001/**
2 * Describes available section generators to the CPER generator.
3 *
4 * Author: Lawrence.Tang@arm.com
5 **/
6#include "gen-section.h"
7
8CPER_GENERATOR_DEFINITION generator_definitions[] = {
9 {&gEfiProcessorGenericErrorSectionGuid, "generic", generate_section_generic},
10 {&gEfiIa32X64ProcessorErrorSectionGuid, "ia32x64", generate_section_ia32x64},
11 {&gEfiArmProcessorErrorSectionGuid, "arm", generate_section_arm},
12 {&gEfiPlatformMemoryErrorSectionGuid, "memory", generate_section_memory},
13 {&gEfiPlatformMemoryError2SectionGuid, "memory2", generate_section_memory2},
14 {&gEfiPcieErrorSectionGuid, "pcie", generate_section_pcie},
15 {&gEfiFirmwareErrorSectionGuid, "firmware", generate_section_firmware},
16 {&gEfiPciBusErrorSectionGuid, "pcibus", generate_section_pci_bus},
17 {&gEfiPciDevErrorSectionGuid, "pcidev", generate_section_pci_dev},
18 {&gEfiDMArGenericErrorSectionGuid, "dmargeneric", generate_section_dmar_generic},
19 {&gEfiDirectedIoDMArErrorSectionGuid, "dmarvtd", generate_section_dmar_vtd},
20 {&gEfiIommuDMArErrorSectionGuid, "dmariommu", generate_section_dmar_iommu},
21 {&gEfiCcixPerLogErrorSectionGuid, "ccixper", generate_section_ccix_per},
22 {&gEfiCxlProtocolErrorSectionGuid, "cxlprotocol", generate_section_cxl_protocol},
23 {&gEfiCxlGeneralMediaErrorSectionGuid, "cxlcomponent-media", generate_section_cxl_component},
24 {&gEfiCxlDramEventErrorSectionGuid, "cxlcomponent-dram", generate_section_cxl_component},
25 {&gEfiCxlMemoryModuleErrorSectionGuid, "cxlcomponent-memory", generate_section_cxl_component},
26 {&gEfiCxlPhysicalSwitchErrorSectionGuid, "cxlcomponent-pswitch", generate_section_cxl_component},
27 {&gEfiCxlVirtualSwitchErrorSectionGuid, "cxlcomponent-vswitch", generate_section_cxl_component},
28 {&gEfiCxlMldPortErrorSectionGuid, "cxlcomponent-mld", generate_section_cxl_component},
29};
30const size_t generator_definitions_len = sizeof(generator_definitions) / sizeof(CPER_GENERATOR_DEFINITION);