From: Dong, E. <eri...@in...> - 2014-07-15 09:14:08
|
Aaron, As you have pointed, we can't use vfrStatementDefault to set the default value for the OrderedList statement, OrderedList can get default value through below method: 1. Through the EFI_BROWSER_ACTION_DEFAULT_STANDARD/EFI_BROWSER_ACTION_DEFAULT_MANUFACTURING callback. 2. Through the AltCfg String returned in the ExtractConfig function. 3. Through the order of the options nest in orderedlist statement. The priority from high to low, if driver get the default value from the high one, it will not try to get the default value again. Detail sample you can see the DriverSampleDxe driver in MdeModulePkg/Universal/DriverSampleDxe. Thanks, Eric From: Aaron Pop [mailto:aa...@am...] Sent: Monday, July 14, 2014 10:40 PM To: edk...@li... Subject: [edk2-buildtools] VfrCompile OrderedList I was hoping to receive some clarification about the VfrCompile's support of defaults for the OrderedList vfr statement. OrderedLists support the vfrStatementDefault grammer, but the vfrStatementDefault, through the vfrConstantValueField, only seems to support a Number/True/False/Time/Date/STRING_TOKEN. I don't see any support for a buffer type (EFI_IFR_TYPE_BUFFER), that would be required for supporting the ordering of values in the OrderedList statement. Is there another way to set a default ordering for the OrderedList statements? Thanks, Aaron The information contained in this message may be confidential and proprietary to American Megatrends, Inc. This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission. |