From: Samer El-Haj-Mahmoud Date: Fri, 19 Feb 2016 00:01:11 +0000 (+0800) Subject: MdePkg: Fix incorrect PCIe Extended Capabilities definition X-Git-Tag: edk2-stable201903~7832 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=0a38a95a35e30490be5ceab2517da37f8fcbb3fa MdePkg: Fix incorrect PCIe Extended Capabilities definition The HeaderLog field of the PCIe Extended Capabilities Advanced Error Reporting structure was incorrectly defined as a 32-bit field. The PCIe 2.1 Base Specification, section 7.10, lists this as 16 bytes, or 4 DWORDs. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud Reviewed-by: Ruiyu Ni --- diff --git a/MdePkg/Include/IndustryStandard/PciExpress21.h b/MdePkg/Include/IndustryStandard/PciExpress21.h index a9915e032b..57cfab228d 100644 --- a/MdePkg/Include/IndustryStandard/PciExpress21.h +++ b/MdePkg/Include/IndustryStandard/PciExpress21.h @@ -2,6 +2,7 @@ Support for the latest PCI standard. Copyright (c) 2006 - 2014, 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 which accompanies this distribution. The full text of the license may be found at @@ -90,7 +91,7 @@ typedef struct { UINT32 CorrectableErrorStatus; UINT32 CorrectableErrorMask; UINT32 AdvancedErrorCapabilitiesAndControl; - UINT32 HeaderLog; + UINT32 HeaderLog[4]; UINT32 RootErrorCommand; UINT32 RootErrorStatus; UINT16 ErrorSourceIdentification;