]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg/Pci: Add valid check for PCI extended config space parser
authorVincentX Ke <vincentx.ke@intel.com>
Sat, 10 Apr 2021 14:15:09 +0000 (22:15 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 22 Mar 2021 01:37:30 +0000 (01:37 +0000)
commit3d0df0f076e120c6faf3c1892fffa21b4f31ed84
tree67306c34048b9fa4b9ba78b16b1bd798dd75a103
parentca318882714080fb81fe9eb89a7b7934efc5bfae
ShellPkg/Pci: Add valid check for PCI extended config space parser

Bugzilla: 3262 (https://bugzilla.tianocore.org/show_bug.cgi?id=3262)

No need to print PCIe details while CapabilityId is 0xFFFF.
Limit the NextCapabilityOffset to PCI configuration space.

Signed-off-by: VincentX Ke <vincentx.ke@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c