From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 792A121A16ECB for ; Wed, 14 Jun 2017 18:04:28 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2017 18:05:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,341,1493708400"; d="scan'208";a="868099601" Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.13]) by FMSMGA003.fm.intel.com with ESMTP; 14 Jun 2017 18:05:43 -0700 From: Hao Wu To: edk2-devel@lists.01.org Cc: Hao Wu , Michael D Kinney , Liming Gao Date: Thu, 15 Jun 2017 09:05:38 +0800 Message-Id: <20170615010538.12616-1-hao.a.wu@intel.com> X-Mailer: git-send-email 2.12.0.windows.1 Subject: [PATCH] MdePkg/Cper.h: Update Firmware Error Record per UEFI 2.7 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 01:04:28 -0000 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 Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu --- 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.
+ Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.
(C) Copyright 2016 Hewlett Packard Enterprise Development LP
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