]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseS3BootScriptLibNull/BootScriptLib.c
Add comment for S3BootScriptSaveMemPoll API, since it does not match PI specification.
[mirror_edk2.git] / MdePkg / Library / BaseS3BootScriptLibNull / BootScriptLib.c
index bb075db7d22c771a1e79dbec73fd2bfc6dc30938..373ce6b388e5712bf88f0720ff383ec4f2231d23 100644 (file)
@@ -278,7 +278,12 @@ S3BootScriptSaveDispatch2 (
 /**\r
   Adds a record for memory reads of the memory location and continues when the exit criteria is\r
   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 Width     The width of the memory operations.\r
   @param Address   The base address of the memory operations.\r
   @param BitMask   A pointer to the bit mask to be AND-ed with the data read from the register.\r