Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?

2013-09-28 Thread Gao, Liming
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,

Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?

2013-09-28 Thread Simon (Xiang) Lian-SSI
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.

Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?

2013-09-28 Thread Neeraj Ladkani
>> >> ** ** >> >> *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

Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?

2013-09-28 Thread Galla Rao
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

Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?

2013-09-27 Thread Simon (Xiang) Lian-SSI
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

Re: [edk2] How to specify name/value storage in HiiCreateOneOfOpCode?

2013-09-27 Thread Galla Rao
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

[edk2] How to specify name/value storage in HiiCreateOneOfOpCode?

2013-09-26 Thread Simon (Xiang) Lian-SSI
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