ShellPkg: Fix smbiosview decode of PCIe Extended Capabilities
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>
Fri, 4 Mar 2016 03:31:45 +0000 (19:31 -0800)
committerJaben Carsey <jaben.carsey@intel.com>
Fri, 4 Mar 2016 19:07:50 +0000 (11:07 -0800)
Fix SMBIOSVIEW decode of the HeaderLog fields of the PCIe
AER structure . 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: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni

index df45cd68aa22a190d27d67c3539257abe0f438d5..6956963798d9e4accf5980fa18c81cec651a027d 100644 (file)
@@ -1,8 +1,9 @@
 /** @file\r
   Main file for Pci shell Debug1 function.\r
 \r
-  (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>\r
   Copyright (c) 2005 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
+  (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>  
   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
@@ -5443,7 +5444,10 @@ PrintInterpretedExtendedCompatibilityAer (
     Header->CorrectableErrorStatus,\r
     Header->CorrectableErrorMask,\r
     Header->AdvancedErrorCapabilitiesAndControl,\r
-    Header->HeaderLog,\r
+    Header->HeaderLog[0],
+    Header->HeaderLog[1],
+    Header->HeaderLog[2],
+    Header->HeaderLog[3],
     Header->RootErrorCommand,\r
     Header->RootErrorStatus,\r
     Header->ErrorSourceIdentification,\r
index 4d9eb1f1db23185ccde3b1bcf80c63a16337e498..6206f841ebda95ec46e47b2b7aee98fc054661c7 100644 (file)
@@ -1,7 +1,8 @@
 // /**\r
 //\r
-// (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>\r
 // Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
+// (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
+// (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
 // 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
                                                        "    CorrectableErrorStatus         %08x\r\n"\r
                                                        "    CorrectableErrorMask           %08x\r\n"\r
                                                        "    AdvancedErrorCapAndControl     %08x\r\n"\r
-                                                       "    HeaderLog                      %08x\r\n"\r
+                                                       "    HeaderLog1                     %08x\r\n"
+                                                       "    HeaderLog2                     %08x\r\n"
+                                                       "    HeaderLog3                     %08x\r\n"
+                                                       "    HeaderLog4                     %08x\r\n"
                                                        "    RootErrorCommand               %08x\r\n"\r
                                                        "    RootErrorStatus                %08x\r\n"\r
                                                        "    ErrorSourceIdentification      %04x\r\n"\r