From: niruiyu Date: Thu, 11 Feb 2010 06:29:16 +0000 (+0000) Subject: To follow UEFI spec 2.3 chapter 3.4.1.1, add the ConnectSingleController for removabl... X-Git-Tag: edk2-stable201903~16349 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=e74f510b46e3f25f0ebd17e1d1fdacc95d7de0c1 To follow UEFI spec 2.3 chapter 3.4.1.1, add the ConnectSingleController for removable media boot. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9987 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c index 59e3a6e20f..5f4cf932c1 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c @@ -1453,6 +1453,11 @@ BdsLibGetBootableHandle ( gBS->ConnectController (Handle, NULL, NULL, TRUE); } } else { + // + // For removable device boot option, its contained device path only point to the removable device handle, + // should make sure all its children handles (its child partion or media handles) are created and connected. + // + gBS->ConnectController (Handle, NULL, NULL, TRUE); // // Get BlockIo protocol and check removable attribute //