summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>2016-02-19 08:01:11 +0800
committerHao Wu <hao.a.wu@intel.com>2016-07-14 13:20:34 +0800
commit49dcbf6b2cb5a4283f83300c02f418c419c47387 (patch)
tree42d7882d0b0edd502430f91e9a6f805e85e067bf /MdePkg
parent2a3d5f0a56efd209a71b8a77aeaa5f6be9de6a2d (diff)
downloadedk2-platforms-49dcbf6b2cb5a4283f83300c02f418c419c47387.tar.xz
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 <elhaj@hpe.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> (cherry picked from commit 0a38a95a35e30490be5ceab2517da37f8fcbb3fa)
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/IndustryStandard/PciExpress21.h3
1 files changed, 2 insertions, 1 deletions
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.<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
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;