Invoke EFI_BROWSER_ACTION_RETRIEVE callback when read EfiVarstore question.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9425 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -13,7 +13,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
#include "Setup.h"
|
||||
#include "Ui.h"
|
||||
|
||||
BOOLEAN mHiiPackageListUpdated;
|
||||
UI_MENU_SELECTION *gCurrentSelection;
|
||||
@@ -982,14 +981,28 @@ SetupBrowser (
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Reset FormPackage update flag
|
||||
//
|
||||
mHiiPackageListUpdated = FALSE;
|
||||
|
||||
//
|
||||
// Load Questions' Value for display
|
||||
//
|
||||
Status = LoadFormSetConfig (Selection->FormSet);
|
||||
Status = LoadFormSetConfig (Selection, Selection->FormSet);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
|
||||
//
|
||||
// IFR is updated during callback of read value, force to reparse the IFR binary
|
||||
//
|
||||
if (mHiiPackageListUpdated) {
|
||||
Selection->Action = UI_ACTION_REFRESH_FORMSET;
|
||||
mHiiPackageListUpdated = FALSE;
|
||||
goto Done;
|
||||
}
|
||||
|
||||
//
|
||||
// Displays the Header and Footer borders
|
||||
//
|
||||
|
Reference in New Issue
Block a user