Add support for AMPERE CPERs
Support Ampere CPER entries
Change-Id: I607a89209138fa53914c55c07aba8b7d6f382e5e
Signed-off-by: Dung Cao <dung@os.amperecomputing.com>
diff --git a/sections/cper-section.c b/sections/cper-section.c
index 1845118..defecf6 100644
--- a/sections/cper-section.c
+++ b/sections/cper-section.c
@@ -21,6 +21,7 @@
#include "cper-section-cxl-protocol.h"
#include "cper-section-cxl-component.h"
#include "cper-section-nvidia.h"
+#include "cper-section-ampere.h"
//Definitions of all sections available to the CPER parser.
CPER_SECTION_DEFINITION section_definitions[] = {
@@ -72,6 +73,8 @@
cper_section_cxl_component_to_ir, ir_section_cxl_component_to_cper },
{ &gEfiNvidiaErrorSectionGuid, "NVIDIA", cper_section_nvidia_to_ir,
ir_section_nvidia_to_cper },
+ { &gEfiAmpereErrorSectionGuid, "Ampere", cper_section_ampere_to_ir,
+ ir_section_ampere_to_cper },
};
const size_t section_definitions_len =
sizeof(section_definitions) / sizeof(CPER_SECTION_DEFINITION);