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
This commit is contained in:
niruiyu 2010-02-11 06:29:16 +00:00
parent b3b1a4cfa9
commit e74f510b46
1 changed files with 5 additions and 0 deletions

View File

@ -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
//