Hi,
I'm trying to add two different Form sets in HII on the same device handle,
using HiiAddPackages(), one of the formset should be displayed in the HII
browser, but the other formset shouldn't be displayed.
All the strings for both Formsets are stored in the same strings file .uni.
...
Handle = HiiAddPackages (
HiiPkgGuid,
ControllerHandle,
MlxStrings,
BackgroundFormsBin,
HiiFormsBin,
NULL
);
...
The problem that I'm facing here is this:
The background formsset works as it should be and the strings in this formset
are correct.
However, the HiiForms formset, the one which should be displayed on the HII
browser, I only see its title (the formset title) with its correct string, but
somehow when I select this HiiFormset title in the HII browser, I can see the
forms of the other formset, the BackgroudForms formset, and also the strings
that I see are from the wrong formset.
I tried to debug this by printing the "Request" variable in the ExtractConfig()
function, and I saw that when I enter the "device setup" menu in the HII
browser, I see request with GUID and NAME with the values of the
BackgroundFormset (the wrong values)
I also tried to change the order of the packages in the HiiAddPackages()
function call. Instead of
...
MlxStrings,
BackgroundFormsBin,
HiiFormsBin,
NULL
...
I called the function with this order:
...
MlxStrings,
HiiFormsBin,
BackgroundFormsBin,
NULL
...
and I experienced a different and strange behavior, this time the Hii formset
which I can see in the HII browser is with the correct forms and strings, but
the background formset is with the wrong forms and strings.
I want to mention again that the 3 packages (MlxStrings, BackgroundFormsBin,
HiiFormsBin) are installed on the same controller handle (Device handle).
Any help will be appreciated,
Regards,
Wissam
[cid:[email protected]]Wissam Shoukair
Software Engineer | Mellanox Technologies Ltd.
Work: +972 74 7236820 | Cell +972 50 783 6933
<<inline: image001.png>>
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
