I have found that it just dont return from *mBmRefreshLegacyBootOption (); .* have a look at code. let me know the possible cause of it ... I need urgent help
EfiBootManagerRefreshAllBootOption ( VOID ) { EFI_STATUS Status; EFI_BOOT_MANAGER_LOAD_OPTION *NvBootOptions; UINTN NvBootOptionCount; EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions; UINTN BootOptionCount; UINTN Index; Print(L"indside refresh\n"); // // Optionally refresh the legacy boot option // if (mBmRefreshLegacyBootOption != NULL) { Print(L"Before legacy refresh \n"); *mBmRefreshLegacyBootOption (); *//this method does not return Print(L"legacy refresh complete\n"); } On Wed, Oct 5, 2016 at 5:51 PM, Saqib Khan <saqib.khan2...@gmail.com> wrote: > Hi, > > when i import both lib in my project my EFI hangs at > EfiRefreshAllBootOptions, i removed LegacyBootManager and it worked fine .i > need both lib as i need to boot legacy from EFI, how this issue can be > resolved? > > > here is piece of inf file > > [Packages] > MdePkg/MdePkg.dec > MdeModulePkg/MdeModulePkg.dec > IntelFrameworkPkg/ > IntelFrameworkPkg.dec > IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec > ShellPkg/ShellPkg.dec > > [LibraryClasses] > HiiLib > DebugLib > UefiLib > MemoryAllocationLib > UefiBootServicesTableLib > UefiApplicationEntryPoint > UefiBootManagerLib > LegacyBootManagerLib > > > -- > Regards > Saqib Ahmed Khanzada > -- Regards Saqib Ahmed Khanzada _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel