public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Saqib Khan <saqib.khan2011@gmail.com>
To: edk2-devel@lists.01.org
Subject: Urgent help -UefiBootManagerLib and LegacyBootManagerLib issue
Date: Thu, 6 Oct 2016 02:23:11 +0500	[thread overview]
Message-ID: <02363E95-C78D-4137-93DB-FEB05A221A9B@gmail.com> (raw)
In-Reply-To: <CAF=YJJ83Oes7nQXTRD1YiBSSeE7b7qJ0bR9JG5rqfxhoUju+Ng@mail.gmail.com>



Hi all,i need urgent help regarding this issue.

> On 05-Oct-2016, at 9:05 PM, Saqib Khan <saqib.khan2011@gmail.com> wrote:
> 
> 
> 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.khan2011@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


  reply	other threads:[~2016-10-05 21:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-05 12:51 UefiBootManagerLib and LegacyBootManagerLib issue Saqib Khan
2016-10-05 16:05 ` Saqib Khan
2016-10-05 21:23   ` Saqib Khan [this message]
2016-10-05 21:37     ` Urgent help -UefiBootManagerLib " Andrew Fish
2016-10-06  7:28       ` Saqib Khan
2016-10-06  8:41         ` Laszlo Ersek
2016-10-17  9:46           ` Saqib Khan
2016-10-17 10:57             ` Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02363E95-C78D-4137-93DB-FEB05A221A9B@gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox