Sync in bug fix from EDK I:
1) issue with setup browser and IFR refresh opcode 2) [HII]HIIConfigRoutingExportConfig generate error format of <MultiConfigAltResp> 3) [HII] ConfigRouting->ExtractConfig() will cause overflow 4) [Hii Database] EFI_HII_DATABASE_NOTIFY should be invoked when a string package is created internally when a new String Token is created 5) [PT]HIIConfigAccessProtocolTest fail on NT32uefi 6) Incorrect HII package types in EDK git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6378 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Utility functions for expression evaluation.
|
||||
|
||||
Copyright (c) 2007, Intel Corporation
|
||||
Copyright (c) 2007 - 2008, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@ -421,6 +421,14 @@ IdToQuestion (
|
||||
|
||||
Question = IdToQuestion2 (Form, QuestionId);
|
||||
if (Question != NULL) {
|
||||
//
|
||||
// EFI variable storage may be updated by Callback() asynchronous,
|
||||
// to keep synchronous, always reload the Question Value.
|
||||
//
|
||||
if (Question->Storage->Type == EFI_HII_VARSTORE_EFI_VARIABLE) {
|
||||
GetQuestionValue (FormSet, Form, Question, FALSE);
|
||||
}
|
||||
|
||||
return Question;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user