Vlv2TbltDevicePkg/BootScriptSaveDxe: save 64-bit LoopTimes
The BootScriptMemPoll() helper function does the following: - pop LoopTimes from the variable argument list as UINT64, then truncate it to UINTN, - pass the truncated value to S3BootScriptSaveMemPoll() as last argument. The truncation to UINTN is now superfluous, thanks to the patch titled "MdePkg, MdeModulePkg: S3BootScriptSaveMemPoll(): accept 64-bit LoopTimes". Cc: David Wei <david.wei@intel.com> Cc: Mang Guo <mang.guo@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: "Yao, Jiewen" <jiewen.yao@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
This commit is contained in:
@ -348,14 +348,14 @@ BootScriptMemPoll (
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BootScriptMemPoll (
|
BootScriptMemPoll (
|
||||||
IN VA_LIST Marker
|
IN VA_LIST Marker
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
S3_BOOT_SCRIPT_LIB_WIDTH Width;
|
S3_BOOT_SCRIPT_LIB_WIDTH Width;
|
||||||
UINT64 Address;
|
UINT64 Address;
|
||||||
UINT8 *BitMask;
|
UINT8 *BitMask;
|
||||||
UINT8 *BitValue;
|
UINT8 *BitValue;
|
||||||
UINTN Duration;
|
UINTN Duration;
|
||||||
UINT64 LoopTimes;
|
UINT64 LoopTimes;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user