/** @file\r
GUIDs and definitions used for Common Platform Error Record.\r
\r
- Copyright (c) 2011 - 2015, 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
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\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
///@{\r
#define EFI_GENERIC_ERROR_PROC_TYPE_IA32_X64 0x00\r
#define EFI_GENERIC_ERROR_PROC_TYPE_IA64 0x01\r
+#define EFI_GENERIC_ERROR_PROC_TYPE_ARM 0x02\r
///@}\r
\r
///\r
#define EFI_GENERIC_ERROR_PROC_ISA_IA32 0x00\r
#define EFI_GENERIC_ERROR_PROC_ISA_IA64 0x01\r
#define EFI_GENERIC_ERROR_PROC_ISA_X64 0x02\r
+#define EFI_GENERIC_ERROR_PROC_ISA_ARM_A32_T32 0x03\r
+#define EFI_GENERIC_ERROR_PROC_ISA_ARM_A64 0x04\r
///@}\r
\r
///\r
}\r
///@}\r
\r
+///\r
+/// The validation bit mask indicates which fields in the IA32/X64 Processor\r
+/// Error Record structure are valid.\r
+///@{\r
+#define EFI_IA32_X64_PROCESSOR_ERROR_APIC_ID_VALID BIT0\r
+#define EFI_IA32_X64_PROCESSOR_ERROR_CPU_ID_INFO_VALID BIT1\r
+///@}\r
+\r
+///\r
+/// IA32/X64 Processor Error Record\r
+///\r
+typedef struct {\r
+ UINT64 ValidFields;\r
+ UINT64 ApicId;\r
+ UINT8 CpuIdInfo[48];\r
+} EFI_IA32_X64_PROCESSOR_ERROR_RECORD;\r
+\r
///\r
/// The validation bit mask indicates which fields in the Cache Check structure\r
/// are valid.\r
\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