From 49dcbf6b2cb5a4283f83300c02f418c419c47387 Mon Sep 17 00:00:00 2001 From: Samer El-Haj-Mahmoud Date: Fri, 19 Feb 2016 08:01:11 +0800 Subject: 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 (cherry picked from commit 0a38a95a35e30490be5ceab2517da37f8fcbb3fa) --- MdePkg/Include/IndustryStandard/PciExpress21.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MdePkg/Include') 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; -- cgit v1.2.3