X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=IntelFrameworkModulePkg%2FLibrary%2FGenericBdsLib%2FBdsBoot.c;h=2d98d73eeaf6ac92403fb0346d9af1c90bb52de0;hb=451510385050b81a06e1f5091922afa6a637ccc7;hp=59e3a6e20f592ce9ba5b7048e0bfb6bfb2a49e67;hpb=e51e619ed77a75b0992197574a8e376f76357a7a;p=mirror_edk2.git diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c index 59e3a6e20f..2d98d73eea 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c @@ -1,8 +1,8 @@ /** @file BDS Lib functions which relate with create or process the boot option. -Copyright (c) 2004 - 2010, Intel Corporation.
-All rights reserved. This program and the accompanying materials +Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -199,11 +199,6 @@ BdsLibBootViaBootOption ( *ExitDataSize = 0; *ExitData = NULL; - // - // Notes: put EFI64 ROM Shadow Solution - // - EFI64_SHADOW_ALL_LEGACY_ROM (); - // // Notes: this code can be remove after the s3 script table // hook on the event EVT_SIGNAL_READY_TO_BOOT or @@ -1453,6 +1448,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 //