diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2015-05-27 01:22:13 +0000 |
---|---|---|
committer | niruiyu <niruiyu@Edk2> | 2015-05-27 01:22:13 +0000 |
commit | edf289685b9244d27602addd9ea5d933fade839f (patch) | |
tree | b9da7f4fa23c5359ddcce72d55923804e73d8c20 /BaseTools/Source/C/VfrCompile/VfrFormPkg.h | |
parent | e6557276f0cf3c114dc881be2478cf724b171e39 (diff) | |
download | edk2-platforms-edf289685b9244d27602addd9ea5d933fade839f.tar.xz |
MdeModulePkg: Fix PciBus hang issue
LocatePciExpressCapabilityRegBlock () doesn't check the return status of Pci.Read().
Certain platform's PciRootBridge.Pci.Read() doesn't support PCIE access causing the CapabilityEntry not updated.
If the uninitialized CapabilityEntry equals to a big enough initial value, the while-loop will never end.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17513 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/C/VfrCompile/VfrFormPkg.h')
0 files changed, 0 insertions, 0 deletions