summaryrefslogtreecommitdiff
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-05-27 01:22:13 +0000
committerniruiyu <niruiyu@Edk2>2015-05-27 01:22:13 +0000
commitedf289685b9244d27602addd9ea5d933fade839f (patch)
treeb9da7f4fa23c5359ddcce72d55923804e73d8c20 /BaseTools/Source
parente6557276f0cf3c114dc881be2478cf724b171e39 (diff)
downloadedk2-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')
0 files changed, 0 insertions, 0 deletions