mirror of https://github.com/acidanthera/audk.git
fix a bug that FindVariable() may set GoneThrough flag wrongly when a >64K variable exists.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10524 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fe21112135
commit
2ad29d0fe4
|
@ -492,7 +492,7 @@ FindVariable (
|
|||
//
|
||||
// If gone through the VariableStore, that means we never find in Firmware any more.
|
||||
//
|
||||
if (IndexTable->Length < VARIABLE_INDEX_TABLE_VOLUME) {
|
||||
if ((IndexTable->Length < VARIABLE_INDEX_TABLE_VOLUME) && (!StopRecord)) {
|
||||
IndexTable->GoneThrough = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue