diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-10-23 13:52:15 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-10-31 11:11:04 +0800 |
commit | b5cbef4efffb2e833ccf83b6d8ffdca88c45c239 (patch) | |
tree | 02b97926b7514791459a51316449c353f5340378 /BaseTools/Source/Python/Ecc | |
parent | 84ed8edff13384d44372202fc93994233d9d3a98 (diff) | |
download | edk2-b5cbef4efffb2e833ccf83b6d8ffdca88c45c239.tar.gz edk2-b5cbef4efffb2e833ccf83b6d8ffdca88c45c239.tar.bz2 edk2-b5cbef4efffb2e833ccf83b6d8ffdca88c45c239.zip |
MdeModulePkg/PciBus: Fix bug that doesn't produce BusOverride
It's a regression of below commit:
SHA-1: 8be37a5cee700777ca8e8e8a34cc2225b21931a7
* 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>
Diffstat (limited to 'BaseTools/Source/Python/Ecc')
0 files changed, 0 insertions, 0 deletions