]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Guid/Cper.h
MdePkg/Cper.h: Update Firmware Error Record per UEFI 2.7
[mirror_edk2.git] / MdePkg / Include / Guid / Cper.h
index 88e3a5874f18a609c9766af575803f9445a8a6cb..5ddd4c715ebc33538a233e70db611cdc1f9954fc 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   GUIDs and definitions used for Common Platform Error Record.\r
 \r
-  Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR>\r
   (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -12,7 +12,7 @@
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
-  GUIDs defined in UEFI 2.6 Specification.\r
+  GUIDs defined in UEFI 2.7 Specification.\r
 \r
 **/\r
 \r
@@ -1088,16 +1088,21 @@ typedef struct {
 \r
 ///\r
 /// Identifies the type of firmware error record\r
-///\r
+///@{\r
 #define EFI_FIRMWARE_ERROR_TYPE_IPF_SAL              0x00\r
+#define EFI_FIRMWARE_ERROR_TYPE_SOC_TYPE1            0x01\r
+#define EFI_FIRMWARE_ERROR_TYPE_SOC_TYPE2            0x02\r
+///@}\r
 \r
 ///\r
 /// Firmware Error Record Section\r
 ///\r
 typedef struct {\r
   UINT8       ErrorType;\r
-  UINT8       Resv1[7];\r
+  UINT8       Revision;\r
+  UINT8       Resv1[6];\r
   UINT64      RecordId;\r
+  EFI_GUID    RecordIdGuid;\r
 } EFI_FIRMWARE_ERROR_DATA;\r
 \r
 ///\r