]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/S3BootScriptLib.h
MdePkg/BaseLib: Add safe string functions that convert str to value
[mirror_edk2.git] / MdePkg / Include / Library / S3BootScriptLib.h
index 1afb07c24887238247e2e52a6e1721bafc8e1848..3f43da8794693900de49f7121c597475ca13439f 100644 (file)
@@ -316,7 +316,12 @@ S3BootScriptSaveDispatch (
 /**\r
   Adds a record for memory reads of the memory location and continues when the exit \r
   criteria is satisfied, or after a defined duration.\r
-  \r
+\r
+  Please aware, below interface is different with PI specification, Vol 5:\r
+  EFI_S3_SAVE_STATE_PROTOCOL.Write() for EFI_BOOT_SCRIPT_MEM_POLL_OPCODE.\r
+  "Duration" below is microseconds, while "Delay" in PI specification means\r
+  the number of 100ns units to poll.\r
+\r
   @param[in] Width       The width of the memory operations.\r
   @param[in] Address     The base address of the memory operations.\r
   @param[in] BitMask     A pointer to the bit mask to be AND-ed with the data read \r
@@ -338,7 +343,7 @@ S3BootScriptSaveMemPoll (
   IN  VOID                      *BitMask,\r
   IN  VOID                      *BitValue,\r
   IN  UINTN                     Duration,\r
-  IN  UINT                    LoopTimes\r
+  IN  UINT64                    LoopTimes\r
   );\r
 \r
 /**\r