mirror of https://github.com/acidanthera/audk.git
Correct BlockSize when call ConfigToBlock API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9953 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
638909f19b
commit
995c594047
|
@ -551,7 +551,6 @@ ThunkRouteConfig (
|
||||||
VOID *Data;
|
VOID *Data;
|
||||||
UINTN DataSize;
|
UINTN DataSize;
|
||||||
UINTN DataSize2;
|
UINTN DataSize2;
|
||||||
UINTN LastModifiedByteIndex;
|
|
||||||
BOOLEAN ResetRequired;
|
BOOLEAN ResetRequired;
|
||||||
BOOLEAN DataAllocated;
|
BOOLEAN DataAllocated;
|
||||||
|
|
||||||
|
@ -602,11 +601,12 @@ ThunkRouteConfig (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DataSize = DataSize2;
|
||||||
Status = mHiiConfigRoutingProtocol->ConfigToBlock (
|
Status = mHiiConfigRoutingProtocol->ConfigToBlock (
|
||||||
mHiiConfigRoutingProtocol,
|
mHiiConfigRoutingProtocol,
|
||||||
Configuration,
|
Configuration,
|
||||||
Data,
|
Data,
|
||||||
&LastModifiedByteIndex,
|
&DataSize,
|
||||||
Progress
|
Progress
|
||||||
);
|
);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
|
@ -633,7 +633,6 @@ ThunkRouteConfig (
|
||||||
Data,
|
Data,
|
||||||
&ResetRequired
|
&ResetRequired
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue