> On Oct 18, 2016, at 10:40 AM, Laszlo Ersek <ler...@redhat.com> wrote: > > On 10/18/16 19:18, Saqib Khan wrote: >> Hi, >> I can not find structure of BOOTXXXX variable, Can any one help how to >> extract device path from BOOTXXXX variable. > > In UEFI-related questions, the UEFI specification has a fair chance to > provide useful information. > > Please refer to "3.1.3 Load Options" in the UEFI v2.6 spec, available > for download from <http://www.uefi.org/specifications>. > > Locating the matching structure definition in the edk2 tree is left as > an exercise to the reader ;) >
Chapter 3 Boot Manager. The structure is EFI_LOAD_OPTION but some of the fields are variable length so you have to do math to figure stuff out. Thanks, Andrew Fish > Laszlo > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel