]> git.proxmox.com Git - mirror_edk2.git/commitdiff
remove the Framework version of EFI_S3_RESUME2_PPI defintion which is already added...
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 2 Mar 2010 06:21:08 +0000 (06:21 +0000)
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 2 Mar 2010 06:21:08 +0000 (06:21 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10153 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Ppi/S3Resume.h [deleted file]

diff --git a/MdePkg/Include/Ppi/S3Resume.h b/MdePkg/Include/Ppi/S3Resume.h
deleted file mode 100644 (file)
index d333d6f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-/** @file\r
-  This PPI produces functions to interpret and execute the PI boot script table.\r
-  \r
-  This PPI is published by a PEIM and provides for the restoration of the platform's\r
-  configuration when resuming from the ACPI S3 power state. The ability to execute \r
-  the boot script may depend on the availability of other PPIs. For example, if \r
-  the boot script includes an SMBus command, this PEIM looks for the relevant PPI \r
-  that is able to execute that command.  \r
-  \r
-  Copyright (c) 2007 - 2009, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-  @par Revision Reference:\r
-  This PPI is defined in UEFI Platform Initialization Specification 1.2 Volume 5: \r
-  Standards\r
-\r
-**/\r
-\r
-#ifndef __PEI_S3_RESUME_PPI_H__\r
-#define __PEI_S3_RESUME_PPI_H__\r
-\r
-///\r
-/// Global ID for EFI_PEI_S3_RESUME_PPI\r
-///\r
-#define EFI_PEI_S3_RESUME_PPI_GUID \\r
-  { \\r
-    0x4426CCB2, 0xE684, 0x4a8a, {0xAE, 0x40, 0x20, 0xD4, 0xB0, 0x25, 0xB7, 0x10 } \\r
-  }\r
-\r
-///\r
-/// Forward declaration for EFI_PEI_S3_RESUME_PPI\r
-///\r
-typedef struct _EFI_PEI_S3_RESUME_PPI  EFI_PEI_S3_RESUME_PPI;\r
-\r
-/**\r
-  Restores the platform to its preboot configuration for an S3 resume and\r
-  jumps to the OS waking vector.\r
-\r
-  This function will restore the platform to its pre-boot configuration that was \r
-  pre-stored in the boot script table and transfer control to OS waking vector.\r
-  Upon invocation, this function is responsible for locating the following \r
-  information before jumping to OS waking vector:\r
-    - ACPI tables\r
-    - boot script table\r
-    - any other information that it needs\r
-    \r
-  The S3RestoreConfig() function then executes the pre-stored boot script table \r
-  and transitions the platform to the pre-boot state. The boot script is recorded \r
-  during regular boot using the EFI_S3_SAVE_STATE_PROTOCOL.Write() and\r
-  EFI_S3_SMM_SAVE_STATE_PROTOCOL.Write() functions.  Finally, this function \r
-  transfers control to the OS waking vector. If the OS supports only a real-mode \r
-  waking vector, this function will switch from flat mode to real mode before \r
-  jumping to the waking vector.  If all platform pre-boot configurations are \r
-  successfully restored and all other necessary information is ready, this \r
-  function will never return and instead will directly jump to the OS waking \r
-  vector. If this function returns, it indicates that the attempt to resume \r
-  from the ACPI S3 sleep state failed.  \r
-  \r
-  @param[in] PeiServices   Pointer to the PEI Services Table\r
-\r
-  @retval EFI_ABORTED     Execution of the S3 resume boot script table failed.\r
-  @retval EFI_NOT_FOUND   Some necessary information that is used for the S3 \r
-                          resume boot path could not be located.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PEI_S3_RESUME_PPI_RESTORE_CONFIG)(\r
-  IN EFI_PEI_SERVICES  **PeiServices\r
-  );\r
-\r
-/**\r
-  EFI_PEI_S3_RESUME_PPI accomplishes the firmware S3 resume boot\r
-  path and transfers control to OS.\r
-**/\r
-struct _EFI_PEI_S3_RESUME_PPI {\r
-  ///\r
-  /// Restores the platform to its preboot configuration for an S3 resume and\r
-  /// jumps to the OS waking vector.\r
-  ///\r
-  EFI_PEI_S3_RESUME_PPI_RESTORE_CONFIG  S3RestoreConfig;\r
-};\r
-\r
-extern EFI_GUID gEfiPeiS3ResumePpiGuid;\r
-\r
-#endif\r