audk/MdePkg/Include
Laszlo Ersek 63042a7188 MdePkg, MdeModulePkg: S3BootScriptSaveMemPoll(): accept 64-bit LoopTimes
The BaseNull instance of S3BootScriptLib obviously doesn't care about the
type of the S3BootScriptSaveMemPoll() function's LoopTimes parameter; this
lib instance doesn't do anything with the parameters received in
S3BootScriptSaveMemPoll().

The PiDxe instance saves the LoopTimes parameter in
EFI_BOOT_SCRIPT_MEM_POLL.LoopTimes. This target field already has UINT64
type. Furthermore, the BootScriptExecuteMemPoll() function in the same
library instance already uses a local UINT64 variable called LoopTimes to
count up to EFI_BOOT_SCRIPT_MEM_POLL.LoopTimes. This means that the the
UINTN type for S3BootScriptSaveMemPoll()'s LoopTimes parameter is an
unnecessary restriction.

The callers of S3BootScriptSaveMemPoll() will be updated in the next
patches, functionally. At this stage, they will continue to compile, since
UINT64 parameters can accept UINTN arguments.

Cc: Feng Tian <feng.tian@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Star Zeng <star.zeng@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>
2017-01-03 12:22:47 +01:00
..
AArch64 MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Arm MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Ebc MdePkg Base.h: Always define ASM_PFX 2014-09-01 17:23:10 +00:00
Guid MdePkg/GraphicsInfoHob: Add GraphicsDeviceInfo HOB GUID and structure 2016-10-12 10:42:15 +08:00
Ia32 MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
IndustryStandard MdePkg: Add a header to standardize TLS definitions 2016-12-22 20:33:10 +08:00
Ipf MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Library MdePkg, MdeModulePkg: S3BootScriptSaveMemPoll(): accept 64-bit LoopTimes 2017-01-03 12:22:47 +01:00
Pi MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Ppi MdePkg: Follow PI1.4a update EFI_SEC_PLATFORM_INFORMATION2 description 2016-06-02 16:34:53 +08:00
Protocol MdePkg: Add TLS related protocol definition 2016-12-22 20:33:05 +08:00
Uefi MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
X64 MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
Base.h MdePkg Base.h: Add add comments on __ prefix in enum VERIFY_UINTXX_ENUM_SIZE 2016-11-18 11:10:05 +08:00
PiDxe.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiPei.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
PiSmm.h Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM Communication ACPI Table defined in the PI spec. 2011-02-22 10:05:06 +00:00
Uefi.h Update the copyright notice format 2010-04-23 15:46:20 +00:00