]> git.proxmox.com Git - mirror_edk2.git/commitdiff
To follow UEFI spec 2.3 chapter 3.4.1.1, add the ConnectSingleController for removabl...
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 11 Feb 2010 06:29:16 +0000 (06:29 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 11 Feb 2010 06:29:16 +0000 (06:29 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9987 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c

index 59e3a6e20f592ce9ba5b7048e0bfb6bfb2a49e67..5f4cf932c1ebdf0db6f4f81731ea9d68c699dd98 100644 (file)
@@ -1453,6 +1453,11 @@ BdsLibGetBootableHandle (
       gBS->ConnectController (Handle, NULL, NULL, TRUE);\r
     }\r
   } else {\r
+    //\r
+    // For removable device boot option, its contained device path only point to the removable device handle, \r
+    // should make sure all its children handles (its child partion or media handles) are created and connected. \r
+    //\r
+    gBS->ConnectController (Handle, NULL, NULL, TRUE); \r
     //\r
     // Get BlockIo protocol and check removable attribute\r
     //\r