* [PATCH] MdePkg/Cper.h: Update Firmware Error Record per UEFI 2.7
@ 2017-06-15 1:05 Hao Wu
2017-06-23 6:37 ` Gao, Liming
0 siblings, 1 reply; 2+ messages in thread
From: Hao Wu @ 2017-06-15 1:05 UTC (permalink / raw)
To: edk2-devel; +Cc: Hao Wu, Michael D Kinney, Liming Gao
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
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
---
MdePkg/Include/Guid/Cper.h | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/MdePkg/Include/Guid/Cper.h b/MdePkg/Include/Guid/Cper.h
index 88e3a5874f..5ddd4c715e 100644
--- a/MdePkg/Include/Guid/Cper.h
+++ b/MdePkg/Include/Guid/Cper.h
@@ -1,7 +1,7 @@
/** @file
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>
This program and the accompanying materials
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.
@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
-///
+///@{
#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
///
typedef struct {
UINT8 ErrorType;
- UINT8 Resv1[7];
+ UINT8 Revision;
+ UINT8 Resv1[6];
UINT64 RecordId;
+ EFI_GUID RecordIdGuid;
} EFI_FIRMWARE_ERROR_DATA;
///
--
2.12.0.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MdePkg/Cper.h: Update Firmware Error Record per UEFI 2.7
2017-06-15 1:05 [PATCH] MdePkg/Cper.h: Update Firmware Error Record per UEFI 2.7 Hao Wu
@ 2017-06-23 6:37 ` Gao, Liming
0 siblings, 0 replies; 2+ messages in thread
From: Gao, Liming @ 2017-06-23 6:37 UTC (permalink / raw)
To: Wu, Hao A, edk2-devel@lists.01.org; +Cc: Kinney, Michael D
Reviewed-by: Liming Gao <liming.gao@intel.com>
>-----Original Message-----
>From: Wu, Hao A
>Sent: Thursday, June 15, 2017 9:06 AM
>To: edk2-devel@lists.01.org
>Cc: Wu, Hao A <hao.a.wu@intel.com>; Kinney, Michael D
><michael.d.kinney@intel.com>; Gao, Liming <liming.gao@intel.com>
>Subject: [PATCH] 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
>
>Cc: Michael D Kinney <michael.d.kinney@intel.com>
>Cc: Liming Gao <liming.gao@intel.com>
>Contributed-under: TianoCore Contribution Agreement 1.0
>Signed-off-by: Hao Wu <hao.a.wu@intel.com>
>---
> MdePkg/Include/Guid/Cper.h | 13 +++++++++----
> 1 file changed, 9 insertions(+), 4 deletions(-)
>
>diff --git a/MdePkg/Include/Guid/Cper.h b/MdePkg/Include/Guid/Cper.h
>index 88e3a5874f..5ddd4c715e 100644
>--- a/MdePkg/Include/Guid/Cper.h
>+++ b/MdePkg/Include/Guid/Cper.h
>@@ -1,7 +1,7 @@
> /** @file
> 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>
> This program and the accompanying materials
> 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.
>
> @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
>-///
>+///@{
> #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
> ///
> typedef struct {
> UINT8 ErrorType;
>- UINT8 Resv1[7];
>+ UINT8 Revision;
>+ UINT8 Resv1[6];
> UINT64 RecordId;
>+ EFI_GUID RecordIdGuid;
> } EFI_FIRMWARE_ERROR_DATA;
>
> ///
>--
>2.12.0.windows.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-23 6:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-15 1:05 [PATCH] MdePkg/Cper.h: Update Firmware Error Record per UEFI 2.7 Hao Wu
2017-06-23 6:37 ` Gao, Liming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox