On 09/07/17 22:32, Andrew Fish wrote:
> 
>> On Sep 7, 2017, at 1:01 PM, David F. <df7...@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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to