Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-20 Thread Carsey, Jaben
s will not work out. -Jaben From: Saqib Khan [mailto:saqib.khan2...@gmail.com] Sent: Thursday, October 20, 2016 12:30 AM To: Carsey, Jaben Cc: Andrew Fish ; edk2-de...@ml01.01.org; Laszlo Ersek Subject: Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOT variable Importance: High Boot

Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-20 Thread Saqib Khan
; -Jaben > > > -Original Message- > > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > > Saqib Khan > > Sent: Wednesday, October 19, 2016 11:18 AM > > To: Andrew Fish > > Cc: edk2-de...@ml01.01.org; Laszlo Ersek > > Subject

Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-19 Thread Carsey, Jaben
t: Wednesday, October 19, 2016 11:18 AM > To: Andrew Fish > Cc: edk2-de...@ml01.01.org; Laszlo Ersek > Subject: Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOT > variable > > Hi, so i have parsed the structure as follow : > > > > > > > > *Boo

Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-19 Thread Saqib Khan
Hi, so i have parsed the structure as follow : *BootVariable = mGetVariable(Name, &gEfiGlobalVariableGuid, &BootVariableSize, NULL);LDAttr = BootVariable[0];FilePathListLength = (BootVariable+2);Ptr = (BootVariable+3); // for description * *for FilePathList[] Ptr+= StrSize((CHAR16 *)Ptr);

Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-18 Thread Andrew Fish
> On Oct 18, 2016, at 10:40 AM, Laszlo Ersek wrote: > > On 10/18/16 19:18, Saqib Khan wrote: >> Hi, >> I can not find structure of BOOT variable, Can any one help how to >> extract device path from BOOT variable. > > In UEFI-related questions, the UEFI specification has a fair chance to

Re: [edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-18 Thread Laszlo Ersek
On 10/18/16 19:18, Saqib Khan wrote: > Hi, > I can not find structure of BOOT variable, Can any one help how to > extract device path from BOOT variable. In UEFI-related questions, the UEFI specification has a fair chance to provide useful information. Please refer to "3.1.3 Load Options"

[edk2] How to get BBS_BBS_DEVICE_PATH from BOOTXXXX variable

2016-10-18 Thread Saqib Khan
Hi, I can not find structure of BOOT variable, Can any one help how to extract device path from BOOT variable. here is code i have attempt (rEFind) *UINT8 *Value;* *Status = gRT->GetVariable ((CHAR16 *)Name, &gEfiGlobalVariableGuid, NULL, &BootVariableSize, Value);//p