]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Fix incorrect PCIe Extended Capabilities definition
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>
Fri, 19 Feb 2016 00:01:11 +0000 (08:01 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Mon, 22 Feb 2016 02:48:11 +0000 (10:48 +0800)
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>
MdePkg/Include/IndustryStandard/PciExpress21.h

index a9915e032bfa3e5a202c638d766956298e642c34..57cfab228d7385a7dde82f47c1ddc59a3d6cf313 100644 (file)
@@ -2,6 +2,7 @@
   Support for the latest PCI standard.\r
 \r
   Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
   Support for the latest PCI standard.\r
 \r
   Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>  \r
   This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
   This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
@@ -90,7 +91,7 @@ typedef struct {
   UINT32                                    CorrectableErrorStatus;\r
   UINT32                                    CorrectableErrorMask;\r
   UINT32                                    AdvancedErrorCapabilitiesAndControl;\r
   UINT32                                    CorrectableErrorStatus;\r
   UINT32                                    CorrectableErrorMask;\r
   UINT32                                    AdvancedErrorCapabilitiesAndControl;\r
-  UINT32                                    HeaderLog;\r
+  UINT32                                    HeaderLog[4];\r
   UINT32                                    RootErrorCommand;\r
   UINT32                                    RootErrorStatus;\r
   UINT16                                    ErrorSourceIdentification;\r
   UINT32                                    RootErrorCommand;\r
   UINT32                                    RootErrorStatus;\r
   UINT16                                    ErrorSourceIdentification;\r