audk/MdeModulePkg
Ruiyu Ni b5cbef4eff MdeModulePkg/PciBus: Fix bug that doesn't produce BusOverride
It's a regression of below commit:
SHA-1: 8be37a5cee
* MdeModulePkg/SecurityStubDxe: Defer 3rd party image before EndOfDxe

When PciBus driver fails to load the Option ROM, it doesn't produce
BusOverride protocol. It was a correct behavior before the above
commit. But due to the above commit, BusOverride protocol never is
produced by PciBus driver.

The patch fixes this issue using the following solution:
1. PciBus records the image device path when LoadImage fails.
2. Override.GetDriver() tries to look for the image handle using
   the stored image device path.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2017-10-31 11:11:04 +08:00
..
Application MdeModulePkg CapsuleApp: Fix print info in BuildGatherList() 2017-07-03 17:53:16 +08:00
Bus MdeModulePkg/PciBus: Fix bug that doesn't produce BusOverride 2017-10-31 11:11:04 +08:00
Core MdeModulePkg/DxeIplPeim: Refine coding style in function comments 2017-10-24 09:14:17 +08:00
Include MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition. 2017-10-12 10:17:46 +08:00
Library MdeModulePkg/Bds: Check variable name even *if* OptionNumber is NULL 2017-10-12 10:00:48 +08:00
Logo MdeModulePkg/LogoDxe: Return error if HII Package not present 2017-05-22 16:30:11 -07:00
Universal MdeModulePkg/Ip4Dxe: Trigger Ip4Config2 to retrieve the default address. 2017-10-26 16:22:14 +08:00
MdeModulePkg.dec MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition. 2017-10-12 10:17:46 +08:00
MdeModulePkg.dsc MdeModulePkg: Add UdfDxe to the dsc file 2017-09-13 18:24:40 +08:00
MdeModulePkg.uni MdeModulePkg/MdeModulePkg.dec,.uni: Add NULL pointer detection PCD 2017-10-11 16:39:00 +08:00
MdeModulePkgExtra.uni