summaryrefslogtreecommitdiffstats
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
committerRuiyu Ni <ruiyu.ni@intel.com>2016-02-22 10:48:11 +0800
commit0a38a95a35e30490be5ceab2517da37f8fcbb3fa (patch)
tree11a81b52dc5ac41a075a0db8e0d8703850224ccd /MdePkg
parent7cf1e91d611c5dbe8bdaefd5a48b61e63ea58263 (diff)
downloadedk2-0a38a95a35e30490be5ceab2517da37f8fcbb3fa.tar.gz
edk2-0a38a95a35e30490be5ceab2517da37f8fcbb3fa.tar.bz2
edk2-0a38a95a35e30490be5ceab2517da37f8fcbb3fa.zip
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>
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;