]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/S3BootScriptLib.h
MdePkg: Add EFI_SD_MMC_PASS_THRU_PROTOCOL definition
[mirror_edk2.git] / MdePkg / Include / Library / S3BootScriptLib.h
index 0776812e6a38143dd4fea2efb2ee12c0c6475e23..0a8cbe355aff6790d322c2b6f04d460cab6678a2 100644 (file)
@@ -5,7 +5,7 @@
   be provided in the Framework version library instance, which means some of these \r
   APIs cannot be used if the underlying firmware is Framework and not PI.\r
 \r
-  Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions\r
@@ -281,7 +281,7 @@ S3BootScriptSaveStall (
   );\r
 \r
 /**\r
-  Adds a record for an execution stall on the processor into a specified boot script table.\r
+  Adds a record for dispatching specified arbitrary code into a specified boot script table.\r
 \r
   @param[in] EntryPoint   The entry point of the code to be dispatched.\r
   @param[in] Context      The argument to be passed into the EntryPoint of the code \r
@@ -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
@@ -492,7 +497,7 @@ S3BootScriptSaveInformationAsciiString (
   for figuring out how to get the script to run on an S3 resume because the boot script \r
   maintained by the lib will be destroyed.\r
  \r
-  @return the base address of the new copy of the boot script tble.   \r
+  @return the base address of the new copy of the boot script table.   \r
 \r
 **/\r
 UINT8*\r