From e74f510b46e3f25f0ebd17e1d1fdacc95d7de0c1 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Thu, 11 Feb 2010 06:29:16 +0000 Subject: 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 --- IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c') 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 // -- cgit v1.2.3