MdePkg/Cper.h: Update Firmware Error Record per UEFI 2.7

This commit updates the Firmware Error Record related definitions
according to UEFI 2.7 spec Section N.2.10 Table 281:

a. Adds definitions for 2 Firmware Error Record types
b. Update the structure EFI_FIRMWARE_ERROR_DATA

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Hao Wu 2017-06-15 08:59:40 +08:00
parent c01f13d52a
commit bb427a23ab
1 changed files with 9 additions and 4 deletions

View File

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