summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorNhi Pham <nhi@os.amperecomputing.com>2023-08-21 10:27:30 +0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-08-30 06:29:14 +0000
commit5f46eb2307dd6d4ea163b6899ded81e795780059 (patch)
tree486f5cd6b9a3534919bc3c277b81e98d01276c20 /ShellPkg
parent9896a9c61836a5afba72c47d7c64f4e24f0805ba (diff)
downloadedk2-5f46eb2307dd6d4ea163b6899ded81e795780059.tar.gz
edk2-5f46eb2307dd6d4ea163b6899ded81e795780059.tar.bz2
edk2-5f46eb2307dd6d4ea163b6899ded81e795780059.zip
MdeModulePkg/PciBusDxe: Fix boot hang with faulty PCI Option ROM
A faulty PCI device has the Option ROM image size set to 0. UEFI reads two headers PCI_EXPANSION_ROM_HEADER and PCI_DATA_STRUCTURE to get the Option ROM information. Because the image size is 0, the Option ROM header address never changes. As a result, UEFI keeps reading the same two headers definitely. This patch is intended to fix it. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'ShellPkg')
0 files changed, 0 insertions, 0 deletions