summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c
diff options
context:
space:
mode:
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>2016-03-03 19:31:45 -0800
committerJaben Carsey <jaben.carsey@intel.com>2016-03-04 11:07:50 -0800
commit2c328aca1d5dfd99e7541d85db63318be3d4da62 (patch)
tree46d9afa1ecd8441d1a36bf7735bcdf0cdbc06d7b /ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c
parentf53a31344372ae977820f52a6faf73e312758e40 (diff)
downloadedk2-platforms-2c328aca1d5dfd99e7541d85db63318be3d4da62.tar.xz
ShellPkg: Fix smbiosview decode of PCIe Extended Capabilities
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>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c
index df45cd68aa..6956963798 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c
@@ -1,8 +1,9 @@
/** @file
Main file for Pci shell Debug1 function.
- (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2005 - 2014, Intel Corporation. All rights reserved.<BR>
+ (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
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
@@ -5443,7 +5444,10 @@ PrintInterpretedExtendedCompatibilityAer (
Header->CorrectableErrorStatus,
Header->CorrectableErrorMask,
Header->AdvancedErrorCapabilitiesAndControl,
- Header->HeaderLog,
+ Header->HeaderLog[0],
+ Header->HeaderLog[1],
+ Header->HeaderLog[2],
+ Header->HeaderLog[3],
Header->RootErrorCommand,
Header->RootErrorStatus,
Header->ErrorSourceIdentification,