om]
Sent: Saturday, September 28, 2013 11:56 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?
Simon,
if your data values are predefined, you can create them in formset and hide
them using supressif upon a condition.
On Sat,
o: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?
Simon,
if your data values are predefined, you can create them in formset and hide
them using supressif upon a condition.
On Sat, Sep 28, 2013 at 3:33 PM, Galla Rao
mailto:gallagnv.
>>
>> ** **
>>
>> *From:* Galla Rao [mailto:gallagnv@gmail.com]
>> *Sent:* Friday, September 27, 2013 5:06 AM
>> *To:* edk2-devel@lists.sourceforge.net
>> *Subject:* Re: [edk2] How to specify name/value storage in
>> HiiCreateOneOfOpCode?
>&g
age Spec Ver 1.7.
>
> ** **
>
> Thanks,
>
> Simon
>
> ** **
>
> *From:* Galla Rao [mailto:gallagnv@gmail.com]
> *Sent:* Friday, September 27, 2013 5:06 AM
> *To:* edk2-devel@lists.sourceforge.net
> *Subject:* Re: [edk2] How to specify name/value storage in
&g
specify name/value storage in HiiCreateOneOfOpCode?
3rd paramter is VarStore ID it should be CONFIGURATION_VARSTORE_ID not
STRING_TOKEN
IN EFI_VARSTORE_ID VarStoreId,
you need to define it in yout VFR file. you can check sample code in UDK2010
varstore ISCSI_CONFIG_IFR_NVDATA,
varid
3rd paramter is VarStore ID it should be CONFIGURATION_VARSTORE_ID not
STRING_TOKEN
IN EFI_VARSTORE_ID VarStoreId,
you need to define it in yout VFR file. you can check sample code in
UDK2010
varstore ISCSI_CONFIG_IFR_NVDATA,
varid = CONFIGURATION_VARSTORE_ID,
name = ISCSI_CONFIG_IFR_N
Suppose a name/value storage has been defined in VFR file like below:
//
// Define a name/value storage (EFI_IFR_VARSTORE_NAME_VALUE)
//
namevaluevarstore NameValueVar1,
name = STRING_TOKEN(STR_VALUE1),
name = STRING_TOKEN(STR_VALUE2),
guid = ABC_FORMSET_GUID;
Now to create