* Boot####, Key#### [not found] <CAGRSmLunzkLoNGU6T6bGN9KGbTHyiZ3fBeVCi+xAgRnpNJZJpQ@mail.gmail.com> @ 2017-09-07 20:01 ` David F. 2017-09-07 20:32 ` Andrew Fish 0 siblings, 1 reply; 3+ messages in thread From: David F. @ 2017-09-07 20:01 UTC (permalink / raw) To: edk2-devel Hi, Implementing support for UEFI inside different OS environments, I don't see anything in the spec about being able to find the various Boot#### and Key#### values without trying 0-0xFFFF which is slow (takes 10+ seconds). What's the better way? Thanks. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Boot####, Key#### 2017-09-07 20:01 ` Boot####, Key#### David F. @ 2017-09-07 20:32 ` Andrew Fish 2017-09-07 22:12 ` Laszlo Ersek 0 siblings, 1 reply; 3+ messages in thread From: Andrew Fish @ 2017-09-07 20:32 UTC (permalink / raw) To: David F.; +Cc: edk2-devel > On Sep 7, 2017, at 1:01 PM, David F. <df7729@gmail.com> wrote: > > Hi, > > Implementing support for UEFI inside different OS environments, I > don't see anything in the spec about being able to find the various > Boot#### and Key#### values without trying 0-0xFFFF which is slow > (takes 10+ seconds). What's the better way? > Usually there is another variable that implies the Boot#### value that is in use, like BootOrder. Thanks, Andrew Fish > Thanks. > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Boot####, Key#### 2017-09-07 20:32 ` Andrew Fish @ 2017-09-07 22:12 ` Laszlo Ersek 0 siblings, 0 replies; 3+ messages in thread From: Laszlo Ersek @ 2017-09-07 22:12 UTC (permalink / raw) To: Andrew Fish, David F.; +Cc: edk2-devel On 09/07/17 22:32, Andrew Fish wrote: > >> On Sep 7, 2017, at 1:01 PM, David F. <df7729@gmail.com> wrote: >> >> Hi, >> >> Implementing support for UEFI inside different OS environments, I >> don't see anything in the spec about being able to find the various >> Boot#### and Key#### values without trying 0-0xFFFF which is slow >> (takes 10+ seconds). What's the better way? >> > > Usually there is another variable that implies the Boot#### value that is in use, like BootOrder. There's also GetNextVariableName() -- iterating through, say, ~50 variables that all exist is likely faster than querying ~65500 that don't. Laszlo ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-07 22:09 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <CAGRSmLunzkLoNGU6T6bGN9KGbTHyiZ3fBeVCi+xAgRnpNJZJpQ@mail.gmail.com> 2017-09-07 20:01 ` Boot####, Key#### David F. 2017-09-07 20:32 ` Andrew Fish 2017-09-07 22:12 ` Laszlo Ersek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox