Lawrence Tang | 8f97745 | 2022-08-24 14:55:07 +0100 | [diff] [blame] | 1 | /** |
| 2 | * Describes available section generators to the CPER generator. |
Ed Tanous | fedd457 | 2024-07-12 13:56:00 -0700 | [diff] [blame] | 3 | * |
Lawrence Tang | 8f97745 | 2022-08-24 14:55:07 +0100 | [diff] [blame] | 4 | * Author: Lawrence.Tang@arm.com |
| 5 | **/ |
| 6 | #include "gen-section.h" |
| 7 | |
| 8 | CPER_GENERATOR_DEFINITION generator_definitions[] = { |
John Chung | f8fc705 | 2024-05-03 20:05:29 +0800 | [diff] [blame] | 9 | { &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 Rajagopalan | 683e055 | 2024-03-07 12:30:43 -0800 | [diff] [blame] | 45 | { &gEfiNvidiaErrorSectionGuid, "nvidia", generate_section_nvidia }, |
Lawrence Tang | 8f97745 | 2022-08-24 14:55:07 +0100 | [diff] [blame] | 46 | }; |
John Chung | f8fc705 | 2024-05-03 20:05:29 +0800 | [diff] [blame] | 47 | const size_t generator_definitions_len = |
| 48 | sizeof(generator_definitions) / sizeof(CPER_GENERATOR_DEFINITION); |