audk/MdePkg/Include/Library
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
..
BaseLib.h MdePkg BaseLib: API PathRemoveLastItem not handle root paths properly 2016-11-21 09:23:25 +08:00
BaseMemoryLib.h MdePkg BaseMemoryLib: Add C implementation of API IsZeroBuffer() 2016-08-22 18:54:30 +08:00
CacheMaintenanceLib.h
CpuLib.h
DebugLib.h MdePkg/DebugLib.h: add ASSERT_RETURN_ERROR() 2016-10-25 10:46:07 +02:00
DebugPrintErrorLevelLib.h MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
DevicePathLib.h
DxeCoreEntryPoint.h
DxeServicesLib.h MdePkg: Add a new DxeServicesLib GetFileDevicePathFromAnyFv () function 2015-10-23 05:53:08 +00:00
DxeServicesTableLib.h
ExtendedSalLib.h
ExtractGuidedSectionLib.h
FileHandleLib.h MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
HobLib.h MdePkg HobLib: Check FV alignment when building FV HOB 2016-11-17 09:27:12 +08:00
HstiLib.h Add HSTI support. 2015-01-19 06:08:23 +00:00
IoLib.h
MemoryAllocationLib.h Update MemoryAllocationLib.AllocateAlignedPages API comments for memory overflow ASSERT case. 2013-12-31 07:19:09 +00:00
OrderedCollectionLib.h MdePkg: introduce OrderedCollectionLib library class 2014-08-12 07:28:52 +00:00
PalLib.h
PcdLib.h MdePkg: Follow PI1.4a to fix artificial limitation of SkuId range 2016-05-23 10:48:53 +08:00
PciCf8Lib.h
PciExpressLib.h
PciLib.h
PciSegmentLib.h MdePkg/PciSegmentLib: Optimize PCI_SEGMENT_LIB_ADDRESS() 2016-10-27 21:57:52 -07:00
PeCoffExtraActionLib.h
PeCoffGetEntryPointLib.h
PeCoffLib.h MdePkg: Fix some typing errors in the header files 2016-10-07 18:09:09 -07:00
PeiCoreEntryPoint.h
PeiServicesLib.h
PeiServicesTablePointerLib.h Add VOID MigratePeiServicesTablePointer() to fix'Deprecated declaration'. 2014-01-17 06:06:30 +00:00
PeimEntryPoint.h
PerformanceLib.h MdePkg: Update PerformanceLib comments not to check Identifier. 2016-04-11 16:20:28 +08:00
PostCodeLib.h
PrintLib.h MdePkg: Add %u and %lu support for PrintLib and DebugLib. 2015-06-08 05:37:31 +00:00
ReportStatusCodeLib.h
ResourcePublicationLib.h
RngLib.h MdePkg: Create GetRandomNumber128 in RngLib 2015-10-09 06:03:17 +00:00
S3BootScriptLib.h MdePkg, MdeModulePkg: S3BootScriptSaveMemPoll(): accept 64-bit LoopTimes 2017-01-03 12:22:47 +01:00
S3IoLib.h
S3PciLib.h
S3SmbusLib.h
S3StallLib.h
SalLib.h
SerialPortLib.h MdePkg SerialPortLib: Upstream Get(Set)Control/SetAttributes interfaces 2015-11-26 08:46:52 +00:00
SmbusLib.h
SmmLib.h
SmmMemLib.h Add SmmMemLib, which can be used by SMM driver or SMM core to check communication buffer. 2015-02-02 14:40:44 +00:00
SmmPeriodicSmiLib.h MdePkg: Fix typos in comments 2016-10-21 16:40:51 +08:00
SmmServicesTableLib.h
SynchronizationLib.h MdePkg/Include: Add volatile to SynchronizationLib parameters 2016-11-17 17:08:11 -08:00
TimerLib.h
UefiApplicationEntryPoint.h
UefiBootServicesTableLib.h
UefiDecompressLib.h
UefiDriverEntryPoint.h
UefiLib.h MdePkg/UefiLib: introduce EfiEventGroupSignal 2016-03-23 12:05:39 +01:00
UefiRuntimeLib.h
UefiRuntimeServicesTableLib.h
UefiScsiLib.h MdePkg UefiScsiLib: Add non-blocking support for SCSI Read/Write command 2015-12-11 01:57:41 +00:00
UefiUsbLib.h