mirror of https://github.com/acidanthera/audk.git
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:
parent
b3b1a4cfa9
commit
e74f510b46
|
@ -1453,6 +1453,11 @@ BdsLibGetBootableHandle (
|
||||||
gBS->ConnectController (Handle, NULL, NULL, TRUE);
|
gBS->ConnectController (Handle, NULL, NULL, TRUE);
|
||||||
}
|
}
|
||||||
} else {
|
} 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
|
// Get BlockIo protocol and check removable attribute
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue