summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.c
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-10-23 13:52:15 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-10-31 11:11:04 +0800
commitb5cbef4efffb2e833ccf83b6d8ffdca88c45c239 (patch)
tree02b97926b7514791459a51316449c353f5340378 /SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.c
parent84ed8edff13384d44372202fc93994233d9d3a98 (diff)
downloadedk2-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 'SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.c')
0 files changed, 0 insertions, 0 deletions