blob: 819ebdb271e295dd16dd729061d7788e79460756 [file] [log] [blame]
Lawrence Tang8f977452022-08-24 14:55:07 +01001/**
2 * Describes available section generators to the CPER generator.
Ed Tanousfedd4572024-07-12 13:56:00 -07003 *
Lawrence Tang8f977452022-08-24 14:55:07 +01004 * Author: Lawrence.Tang@arm.com
5 **/
6#include "gen-section.h"
7
8CPER_GENERATOR_DEFINITION generator_definitions[] = {
John Chungf8fc7052024-05-03 20:05:29 +08009 { &gEfiProcessorGenericErrorSectionGuid, "generic",
10 generate_section_generic },
11 { &gEfiIa32X64ProcessorErrorSectionGuid, "ia32x64",
12 generate_section_ia32x64 },
13 { &gEfiArmProcessorErrorSectionGuid, "arm", generate_section_arm },
14 { &gEfiPlatformMemoryErrorSectionGuid, "memory",
15 generate_section_memory },
16 { &gEfiPlatformMemoryError2SectionGuid, "memory2",
17 generate_section_memory2 },
18 { &gEfiPcieErrorSectionGuid, "pcie", generate_section_pcie },
19 { &gEfiFirmwareErrorSectionGuid, "firmware",
20 generate_section_firmware },
21 { &gEfiPciBusErrorSectionGuid, "pcibus", generate_section_pci_bus },
22 { &gEfiPciDevErrorSectionGuid, "pcidev", generate_section_pci_dev },
23 { &gEfiDMArGenericErrorSectionGuid, "dmargeneric",
24 generate_section_dmar_generic },
25 { &gEfiDirectedIoDMArErrorSectionGuid, "dmarvtd",
26 generate_section_dmar_vtd },
27 { &gEfiIommuDMArErrorSectionGuid, "dmariommu",
28 generate_section_dmar_iommu },
29 { &gEfiCcixPerLogErrorSectionGuid, "ccixper",
30 generate_section_ccix_per },
31 { &gEfiCxlProtocolErrorSectionGuid, "cxlprotocol",
32 generate_section_cxl_protocol },
33 { &gEfiCxlGeneralMediaErrorSectionGuid, "cxlcomponent-media",
34 generate_section_cxl_component },
35 { &gEfiCxlDramEventErrorSectionGuid, "cxlcomponent-dram",
36 generate_section_cxl_component },
37 { &gEfiCxlMemoryModuleErrorSectionGuid, "cxlcomponent-memory",
38 generate_section_cxl_component },
39 { &gEfiCxlPhysicalSwitchErrorSectionGuid, "cxlcomponent-pswitch",
40 generate_section_cxl_component },
41 { &gEfiCxlVirtualSwitchErrorSectionGuid, "cxlcomponent-vswitch",
42 generate_section_cxl_component },
43 { &gEfiCxlMldPortErrorSectionGuid, "cxlcomponent-mld",
44 generate_section_cxl_component },
Karthik Rajagopalan683e0552024-03-07 12:30:43 -080045 { &gEfiNvidiaErrorSectionGuid, "nvidia", generate_section_nvidia },
Lawrence Tang8f977452022-08-24 14:55:07 +010046};
John Chungf8fc7052024-05-03 20:05:29 +080047const size_t generator_definitions_len =
48 sizeof(generator_definitions) / sizeof(CPER_GENERATOR_DEFINITION);