]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove the following PPIs from the IntelFrameworkPkg because they were identical...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 13 Jul 2009 05:01:48 +0000 (05:01 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 13 Jul 2009 05:01:48 +0000 (05:01 +0000)
1) Block I/O PPI
2) Device Recovery PPI
3) Recovery Module PPI
4) S3 Resume PPI

Also add Include/Guid/BlockIo.h that contains two hardware device specific GUIDs for recovery devices that are only defined in the Framework Specifications

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8915 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkPkg/Include/Guid/BlockIo.h [new file with mode: 0644]
IntelFrameworkPkg/Include/Ppi/BlockIo.h [deleted file]
IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h [deleted file]
IntelFrameworkPkg/Include/Ppi/RecoveryModule.h [deleted file]
IntelFrameworkPkg/Include/Ppi/S3Resume.h [deleted file]
IntelFrameworkPkg/IntelFrameworkPkg.dec

diff --git a/IntelFrameworkPkg/Include/Guid/BlockIo.h b/IntelFrameworkPkg/Include/Guid/BlockIo.h
new file mode 100644 (file)
index 0000000..e95b1ab
--- /dev/null
@@ -0,0 +1,51 @@
+/** @file\r
+  This file declares the hardware-device class GUIDs that may be used by the \r
+  PEIM that produces the Virtual Block I/O PPI.\r
+\r
+  These GUIDs are hardware-device class GUIDs that would be imported only by the\r
+  Virtual Block I/O PEIM.  This virtual PEIM imports only the actual Block I/O \r
+  PPIs from the device-class ones listed here and published a single instance of\r
+  the Block I/O PPI for consumption by the File System PEIM.  In the parlance of\r
+  the Framework DXE software stack, this Virtual Block I/O PEIM is actually \r
+  embodying the functionality of the partition driver.  Thsi Virtual Block I/O\r
+  PEIM has to multiple the multiple possible instances of Block I/O and also know\r
+  how to parse at least El Torito for CD-ROM and perhaps Master Boot Record(MBR)\r
+  and GUID Partition Table(GPT) in the future.\r
+  \r
+  Copyright (c) 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
+  These GUIDs are defined in Framework Recovery Specification Version 0.9\r
+\r
+**/\r
+\r
+#ifndef _PEI_BLOCK_IO_GUID_H_\r
+#define _PEI_BLOCK_IO_GUID_H_\r
+\r
+///\r
+/// Global ID for an IDE class recovery device\r
+///\r
+#define EFI_PEI_IDE_BLOCK_IO_PPI \\r
+  { \\r
+    0x0964e5b22, 0x6459, 0x11d2, { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b }  \\r
+  }\r
+\r
+///\r
+/// Global ID for a Floppy class recovery device\r
+///\r
+#define EFI_PEI_144_FLOPPY_BLOCK_IO_PPI \\r
+  { \\r
+    0xda6855bd, 0x07b7, 0x4c05, { 0x9e, 0xd8, 0xe2, 0x59, 0xfd, 0x36, 0x0e, 0x22 }  \\r
+  }\r
+\r
+extern EFI_GUID gEfiPeiIdeBlockIoPpiGuid;\r
+extern EFI_GUID gEfiPei144FloppyBlockIoPpiGuid;\r
+\r
+#endif\r
diff --git a/IntelFrameworkPkg/Include/Ppi/BlockIo.h b/IntelFrameworkPkg/Include/Ppi/BlockIo.h
deleted file mode 100644 (file)
index 1e9625b..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-/** @file\r
-  This file declares BlockIo PPI used to access block-oriented storage devices\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 Framework of EFI Recovery Spec\r
-  Version 0.9\r
-\r
-**/\r
-\r
-#ifndef _PEI_BLOCK_IO_H_\r
-#define _PEI_BLOCK_IO_H_\r
-\r
-#define EFI_PEI_IDE_BLOCK_IO_PPI \\r
-  { \\r
-    0x0964e5b22, 0x6459, 0x11d2, { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b }  \\r
-  }\r
-\r
-#define EFI_PEI_144_FLOPPY_BLOCK_IO_PPI \\r
-  { \\r
-    0xda6855bd, 0x07b7, 0x4c05, { 0x9e, 0xd8, 0xe2, 0x59, 0xfd, 0x36, 0x0e, 0x22 }  \\r
-  }\r
-\r
-#define EFI_PEI_VIRTUAL_BLOCK_IO_PPI \\r
-  { \\r
-    0x695d8aa1, 0x42ee, 0x4c46, { 0x80, 0x5c, 0x6e, 0xa6, 0xbc, 0xe7, 0x99, 0xe3 } \\r
-  }\r
-\r
-typedef struct _EFI_PEI_RECOVERY_BLOCK_IO_PPI EFI_PEI_RECOVERY_BLOCK_IO_PPI;\r
-\r
-typedef UINT64  EFI_PEI_LBA;\r
-\r
-typedef enum {\r
-  LegacyFloppy  = 0,\r
-  IdeCDROM      = 1,\r
-  IdeLS120      = 2,\r
-  UsbMassStorage= 3,\r
-  MaxDeviceType\r
-} EFI_PEI_BLOCK_DEVICE_TYPE;\r
-\r
-///\r
-/// Inconsistent with specification here: \r
-/// PEI_BLOCK_IO_MEDIA has been changed to EFI_PEI_BLOCK_IO_MEDIA.\r
-/// Inconsistency exists in Framework Recovery Specification, where all referrences to this\r
-/// structure name are with the "EFI_" prefix, except for the definition which is without "EFI_".\r
-/// So the name of PEI_BLOCK_IO_MEDIA is taken as the exception caused by mistake, and\r
-/// EFI_PEI_BLOCK_IO_MEDIA is used to comply with most part of the specification.\r
-///\r
-typedef struct {\r
-  EFI_PEI_BLOCK_DEVICE_TYPE  DeviceType;\r
-  BOOLEAN                    MediaPresent;\r
-  UINTN                      LastBlock;\r
-  UINTN                      BlockSize;\r
-} EFI_PEI_BLOCK_IO_MEDIA;\r
-\r
-/**\r
-  Gets the count of block I/O devices that one specific block driver detects.\r
-\r
-  @param  PeiServices        General-purpose services that are available to every PEIM.\r
-  @param  This               Indicates the EFI_PEI_RECOVERY_BLOCK_IO_PPI instance.\r
-  @param  NumberBlockDevices The number of block I/O devices discovered.\r
-\r
-  @return Status code\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PEI_GET_NUMBER_BLOCK_DEVICES)(\r
-  IN  EFI_PEI_SERVICES                         **PeiServices,\r
-  IN  EFI_PEI_RECOVERY_BLOCK_IO_PPI            *This,\r
-  OUT UINTN                                    *NumberBlockDevices\r
-  );\r
-\r
-/**\r
-  Gets a block device's media information.\r
-\r
-  @param  PeiServices    General-purpose services that are available to every PEIM\r
-  @param  This           Indicates the EFI_PEI_RECOVERY_BLOCK_IO_PPI instance.\r
-  @param  DeviceIndex    Specifies the block device to which the function\r
-                         wants to talk. Because the driver that implements Block I/O PPIs\r
-                         will manage multiple block devices, the PPIs that want to talk to a single\r
-                         device must specify the device index that was assigned during the enumeration\r
-                         process. This index is a number from one to NumberBlockDevices.\r
-  @param  MediaInfo      The media information of the specified block media.\r
-\r
-  @retval EFI_SUCCESS           Media information about the specified block device was obtained successfully.\r
-  @retval EFI_DEVICE_ERROR      Cannot get the media information due to a hardware error.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PEI_GET_DEVICE_MEDIA_INFORMATION)(\r
-  IN  EFI_PEI_SERVICES                         **PeiServices,\r
-  IN  EFI_PEI_RECOVERY_BLOCK_IO_PPI            *This,\r
-  IN  UINTN                                    DeviceIndex,\r
-  OUT EFI_PEI_BLOCK_IO_MEDIA                   *MediaInfo\r
-  );\r
-\r
-/**\r
-  Reads the requested number of blocks from the specified block device.\r
-\r
-  @param  PeiServices    General-purpose services that are available to every PEIM.\r
-  @param  This           Indicates the EFI_PEI_RECOVERY_BLOCK_IO_PPI instance.\r
-  @param  DeviceIndex    Specifies the block device to which the function wants to talk.\r
-  @param  StartLBA       The starting logical block address (LBA) to read from on the device\r
-  @param  BufferSize     The size of the Buffer in bytes. This number must\r
-                         be a multiple of the intrinsic block size of the device.\r
-  @param  Buffer         A pointer to the destination buffer for the data.\r
-                         The caller is responsible for the ownership of the buffer.\r
-\r
-  @retval EFI_SUCCESS           The data was read correctly from the device.\r
-  @retval EFI_DEVICE_ERROR      The device reported an error while attempting to perform the read operation.\r
-  @retval EFI_INVALID_PARAMETER The read request contains LBAs that are not valid,\r
-                                or the buffer is not properly aligned.\r
-  @retval EFI_BAD_BUFFER_SIZE   The BufferSize parameter is not a multiple of\r
-                                the intrinsic block size of the device.\r
-  @retval EFI_NO_MEDIA          There is no media in the device.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PEI_READ_BLOCKS)(\r
-  IN  EFI_PEI_SERVICES                         **PeiServices,\r
-  IN  EFI_PEI_RECOVERY_BLOCK_IO_PPI            *This,\r
-  IN  UINTN                                    DeviceIndex,\r
-  IN  EFI_PEI_LBA                              StartLBA,\r
-  IN  UINTN                                    BufferSize,\r
-  OUT VOID                                     *Buffer\r
-  );\r
-\r
-///\r
-///  EFI_PEI_RECOVERY_BLOCK_IO_PPI provides the services that are required\r
-///  to access a block I/O device during PEI recovery boot mode.\r
-///\r
-struct _EFI_PEI_RECOVERY_BLOCK_IO_PPI {\r
-  ///\r
-  /// Gets the number of block I/O devices that the specific block driver manages.\r
-  ///\r
-  EFI_PEI_GET_NUMBER_BLOCK_DEVICES      GetNumberOfBlockDevices;\r
-  \r
-  ///\r
-  /// Gets the specified media information.\r
-  ///\r
-  EFI_PEI_GET_DEVICE_MEDIA_INFORMATION  GetBlockDeviceMediaInfo;\r
-  \r
-  ///\r
-  /// Reads the requested number of blocks from the specified block device.\r
-  ///\r
-  EFI_PEI_READ_BLOCKS                   ReadBlocks;\r
-};\r
-\r
-extern EFI_GUID gEfiPeiIdeBlockIoPpiGuid;\r
-extern EFI_GUID gEfiPei144FloppyBlockIoPpiGuid;\r
-extern EFI_GUID gEfiPeiVirtualBlockIoPpiGuid;\r
-\r
-#endif\r
diff --git a/IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h b/IntelFrameworkPkg/Include/Ppi/DeviceRecoveryModule.h
deleted file mode 100644 (file)
index b59726f..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-/** @file\r
-  This file declares the Device Recovery Module PPI.\r
-\r
-  The interface of this PPI does the following:\r
-    - Reports the number of recovery DXE capsules that exist on the associated device(s)\r
-    - Finds the requested firmware binary capsule\r
-    - Loads that capsule into memory\r
-\r
-  A device can be either a group of devices, such as a block device, or an individual device.\r
-  The module determines the internal search order, with capsule number 1 as the highest load\r
-  priority and number N as the lowest priority.\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 the "EFI Recovery" Framework spec.\r
-  Version 0.9\r
-\r
-**/\r
-\r
-#ifndef _PEI_DEVICE_RECOVERY_MODULE_PPI_H_\r
-#define _PEI_DEVICE_RECOVERY_MODULE_PPI_H_\r
-\r
-#define EFI_PEI_DEVICE_RECOVERY_MODULE_PPI_GUID \\r
-  { \\r
-    0x0DE2CE25, 0x446A, 0x45a7, {0xBF, 0xC9, 0x37, 0xDA, 0x26, 0x34, 0x4B, 0x37 } \\r
-  }\r
-\r
-typedef struct _EFI_PEI_DEVICE_RECOVERY_MODULE_PPI EFI_PEI_DEVICE_RECOVERY_MODULE_PPI;\r
-\r
-/**\r
-  Returns the number of DXE capsules residing on the device.\r
-\r
-  This function searches for DXE capsules from the associated device and returns the number\r
-  and maximum size in bytes of the capsules discovered. Entry 1 is assumed to be the\r
-  highest load priority and entry N is assumed to be the lowest priority.\r
-\r
-  @param[in]  PeiServices            General-purpose services that are available to every PEIM\r
-  @param[in]  This                   Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance.\r
-  @param[out] NumberRecoveryCapsules Pointer to a caller-allocated UINTN. On output,\r
-                                     *NumberRecoveryCapsules contains the number of recovery capsule\r
-                                     images available for retrieval from this PEIM instance.\r
-\r
-  @retval EFI_SUCCESS           One or more capsules were discovered.\r
-  @retval EFI_DEVICE_ERROR      A device error occurred.\r
-  @retval EFI_NOT_FOUND         A recovery DXE capsule cannot be found.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PEI_DEVICE_GET_NUMBER_RECOVERY_CAPSULE)(\r
-  IN     EFI_PEI_SERVICES                               **PeiServices,\r
-  IN     EFI_PEI_DEVICE_RECOVERY_MODULE_PPI             *This,\r
-     OUT UINTN                                          *NumberRecoveryCapsules\r
-  );\r
-\r
-/**\r
-  Returns the size and type of the requested recovery capsule.\r
-\r
-  This function gets the size and type of the requested recovery capsule.\r
-\r
-  @param[in]  PeiServices     General-purpose services that are available to every PEIM\r
-  @param[in]  This            Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance.\r
-  @param[in]  CapsuleInstance Specifies for which capsule instance to retrieve the information.\r
-                              This parameter must be between one and the value returned by\r
-                              GetNumberRecoveryCapsules() in NumberRecoveryCapsules.\r
-  @param[out] Size            A pointer to a caller-allocated UINTN in which the size of\r
-                              the requested recovery module is returned.\r
-  @param[out] CapsuleType     A pointer to a caller-allocated EFI_GUID in\r
-                              which the type of the requested recovery capsule is returned.\r
-\r
-  @retval EFI_SUCCESS           One or more capsules were discovered.\r
-  @retval EFI_DEVICE_ERROR      A device error occurred.\r
-  @retval EFI_NOT_FOUND         A recovery DXE capsule cannot be found.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PEI_DEVICE_GET_RECOVERY_CAPSULE_INFO)(\r
-  IN     EFI_PEI_SERVICES                              **PeiServices,\r
-  IN     EFI_PEI_DEVICE_RECOVERY_MODULE_PPI            *This,\r
-  IN     UINTN                                         CapsuleInstance,\r
-     OUT UINTN                                         *Size,\r
-     OUT EFI_GUID                                      *CapsuleType\r
-  );\r
-\r
-/**\r
-  Loads a DXE capsule from some media into memory.\r
-\r
-  This function retrieves a DXE capsule from some device and loads it into memory.\r
-  Note that the published interface is device neutral.\r
-\r
-  @param[in, out] PeiServices     General-purpose services that are available to every PEIM\r
-  @param[in]      This            Indicates the EFI_PEI_DEVICE_RECOVERY_MODULE_PPI instance.\r
-  @param[in]      CapsuleInstance Specifies which capsule instance to retrieve.\r
-                                  This parameter must be between one and the value returned by\r
-                                  GetNumberRecoveryCapsules() in NumberRecoveryCapsules.\r
-  @param[out]     Buffer          Specifies a caller-allocated buffer in which the requested\r
-                                  recovery capsule will be returned.\r
-\r
-  @retval EFI_SUCCESS           One or more capsules were discovered.\r
-  @retval EFI_DEVICE_ERROR      A device error occurred.\r
-  @retval EFI_NOT_FOUND         A recovery DXE capsule cannot be found.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PEI_DEVICE_LOAD_RECOVERY_CAPSULE)(\r
-  IN OUT EFI_PEI_SERVICES                         **PeiServices,\r
-  IN     EFI_PEI_DEVICE_RECOVERY_MODULE_PPI       *This,\r
-  IN     UINTN                                    CapsuleInstance,\r
-     OUT VOID                                     *Buffer\r
-  );\r
-\r
-///\r
-/// Presents a standard interface to EFI_PEI_DEVICE_RECOVERY_MODULE_PPI,\r
-/// regardless of the underlying device(s).\r
-///\r
-struct _EFI_PEI_DEVICE_RECOVERY_MODULE_PPI {\r
-  EFI_PEI_DEVICE_GET_NUMBER_RECOVERY_CAPSULE  GetNumberRecoveryCapsules;    ///< Returns the number of DXE capsules residing on the device.\r
-  EFI_PEI_DEVICE_GET_RECOVERY_CAPSULE_INFO    GetRecoveryCapsuleInfo;       ///< Returns the size and type of the requested recovery capsule.\r
-  EFI_PEI_DEVICE_LOAD_RECOVERY_CAPSULE        LoadRecoveryCapsule;          ///< Loads a DXE capsule from some media into memory.\r
-};\r
-\r
-extern EFI_GUID gEfiPeiDeviceRecoveryModulePpiGuid;\r
-\r
-#endif  /* _PEI_DEVICE_RECOVERY_MODULE_PPI_H_ */\r
diff --git a/IntelFrameworkPkg/Include/Ppi/RecoveryModule.h b/IntelFrameworkPkg/Include/Ppi/RecoveryModule.h
deleted file mode 100644 (file)
index a011c90..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/** @file\r
-  This file declares Recovery Module PPI. \r
-  This PPI is used to find and load the recovery files.\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 Framework of EFI Recovery Spec.\r
-  Version 0.9\r
-\r
-**/\r
-\r
-#ifndef __PEI_RECOVERY_MODULE_PPI_H__\r
-#define __PEI_RECOVERY_MODULE_PPI_H__\r
-\r
-///\r
-///  Inconsistent with specification here: \r
-///  GUID marco name has been changed to the consistent PPI GUID macro name.\r
-///\r
-#define EFI_PEI_RECOVERY_MODULE_PPI_GUID \\r
-  { \\r
-    0xFB6D9542, 0x612D, 0x4f45, {0x87, 0x2F, 0x5C, 0xFF, 0x52, 0xE9, 0x3D, 0xCF } \\r
-  }\r
-\r
-typedef struct _EFI_PEI_RECOVERY_MODULE_PPI EFI_PEI_RECOVERY_MODULE_PPI;\r
-\r
-/**\r
-  Loads a DXE capsule from some media into memory and updates the HOB table\r
-  with the DXE firmware volume information.\r
-\r
-  @param  PeiServices    General-purpose services that are available to every PEIM.\r
-  @param  This           Indicates the EFI_PEI_RECOVERY_MODULE_PPI instance.\r
-\r
-  @retval EFI_SUCCESS           The capsule was loaded correctly.\r
-  @retval EFI_DEVICE_ERROR      A device error occurred.\r
-  @retval EFI_NOT_FOUND         A recovery DXE capsule cannot be found.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PEI_LOAD_RECOVERY_CAPSULE)(\r
-  IN EFI_PEI_SERVICES                     **PeiServices,\r
-  IN EFI_PEI_RECOVERY_MODULE_PPI          *This\r
-  );\r
-\r
-/**\r
-  Finds and loads the recovery files.\r
-**/\r
-struct _EFI_PEI_RECOVERY_MODULE_PPI {\r
-  EFI_PEI_LOAD_RECOVERY_CAPSULE LoadRecoveryCapsule;  ///< Loads a DXE binary capsule into memory.\r
-};\r
-\r
-extern EFI_GUID gEfiPeiRecoveryModulePpiGuid;\r
-\r
-#endif\r
diff --git a/IntelFrameworkPkg/Include/Ppi/S3Resume.h b/IntelFrameworkPkg/Include/Ppi/S3Resume.h
deleted file mode 100644 (file)
index 0995a2f..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-/** @file\r
-  This file declares S3 Resume PPI which accomplishes the firmware S3 resume boot path\r
-  and transfers control to OS.\r
-  \r
-  This PPI is published by the S3 resume PEIM and can be used on the S3 resume boot path to\r
-  restore the platform to its preboot configuration and transfer control to OS. The information that is\r
-  required for an S3 resume can be saved during the normal boot path using\r
-  EFI_ACPI_S3_SAVE_PROTOCOL. This presaved information can then be restored in the S3\r
-  resume boot path using EFI_PEI_S3_RESUME_PPI. Architecturally, the S3 resume PEIM is the\r
-  last PEIM to be dispatched in the S3 resume boot path.\r
-  Before using this PPI, the caller has to ensure the necessary information for the S3 resume, such as\r
-  the following, is available for the S3 resume boot path:\r
-  - EFI_ACPI_S3_RESUME_SCRIPT_TABLE script table. Type\r
-    EFI_ACPI_S3_RESUME_SCRIPT_TABLE is defined in the Intel Platform Innovation\r
-    Framework for EFI Boot Script Specification.\r
-  - OS waking vector.\r
-  - The reserved memory range to be used for the S3 resume.\r
-  Otherwise, the S3 resume boot path may fail.\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 Framework for EFI S3 Resume Boot Path spec.\r
-  Version 0.9.\r
-\r
-**/\r
-\r
-#ifndef __PEI_S3_RESUME_PPI_H__\r
-#define __PEI_S3_RESUME_PPI_H__\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
-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
-  @param  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\r
-                                the S3 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
index 82254e44e5b86bd2bdc1df8ee35fb9994c7ea092..1a06fce5e35b4debbda23152d7464ce79a970481 100644 (file)
   PACKAGE_GUID                   = 2759ded5-bb57-4b06-af4f-c398fa552719\r
   PACKAGE_VERSION                = 1.0\r
 \r
-\r
-[Includes.common]\r
+[Includes]\r
   Include                        # Root include for the package\r
 \r
-[LibraryClasses.common]\r
+[LibraryClasses]\r
   SmmLib|Include/Library/SmmLib.h\r
 \r
-[Guids.common]\r
+[Guids]\r
   ## EdkCompatibilityPkg/Foundation/Framework/Guid/AcpiTableStorage/AcpiTableStorage.h\r
   gEfiAcpiTableStorageGuid       = { 0x7e374e25, 0x8e01, 0x4fee, { 0x87, 0xf2, 0x39, 0x0c, 0x23, 0xc6, 0x06, 0xcd }}\r
   \r
   ## Include/Guid/FirmwareFileSystem.h\r
   gEfiFirmwareFileSystemGuid     = { 0x7A9354D9, 0x0468, 0x444a, {0x81, 0xCE, 0x0B, 0xF6, 0x17, 0xD8, 0x90, 0xDF }}\r
 \r
-[Protocols.common]\r
+  ##   Include/Guid/BlockIo.h\r
+  gEfiPeiIdeBlockIoPpiGuid       = { 0x0964e5b22, 0x6459, 0x11d2, { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b }}\r
+  \r
+  ##  Include/Guid/BlockIo.h\r
+  gEfiPei144FloppyBlockIoPpiGuid = { 0xda6855bd, 0x07b7, 0x4c05, { 0x9e, 0xd8, 0xe2, 0x59, 0xfd, 0x36, 0x0e, 0x22 }}\r
+    \r
+[Protocols]\r
   ## Include/Protocol/AcpiS3Save.h\r
   gEfiAcpiS3SaveProtocolGuid     = { 0x125F2DE1, 0xFB85, 0x440C, { 0xA5, 0x4C, 0x4D, 0x99, 0x35, 0x8A, 0x8D, 0x38 }}\r
   \r
   ## Include/Protocol/FrameworkFormBrowser.h\r
   gEfiFormBrowserCompatibilityProtocolGuid    = { 0xfb7c852, 0xadca, 0x4853, { 0x8d, 0xf, 0xfb, 0xa7, 0x1b, 0x1c, 0xe1, 0x1a }}\r
 \r
-[Ppis.common]\r
+[Ppis]\r
   ## Include/Ppi/BootScriptExecuter.h\r
   gEfiPeiBootScriptExecuterPpiGuid = { 0xabd42895, 0x78cf, 0x4872, { 0x84, 0x44, 0x1b, 0x5c, 0x18, 0x0b, 0xfb, 0xff }}\r
   \r
-  ## Include/Ppi/RecoveryModule.h\r
-  gEfiPeiRecoveryModulePpiGuid   = { 0xFB6D9542, 0x612D, 0x4f45, { 0x87, 0x2f, 0x5c, 0xff, 0x52, 0xe9, 0x3d, 0xcf }}\r
-  \r
-  ## Include/Ppi/DeviceRecoveryModule.h\r
-  gEfiPeiDeviceRecoveryModulePpiGuid = {0x0DE2CE25, 0x446A, 0x45a7, {0xBF, 0xC9, 0x37, 0xDA, 0x26, 0x34, 0x4B, 0x37 }}\r
-  \r
-  ## Include/Ppi/BlockIo.h\r
-  gEfiPeiVirtualBlockIoPpiGuid   = { 0x695d8aa1, 0x42ee, 0x4c46, { 0x80, 0x5c, 0x6e, 0xa6, 0xbc, 0xe7, 0x99, 0xe3 }}\r
-  \r
-  ##  Include/Ppi/BlockIo.h\r
-  gEfiPei144FloppyBlockIoPpiGuid = { 0xda6855bd, 0x07b7, 0x4c05, { 0x9e, 0xd8, 0xe2, 0x59, 0xfd, 0x36, 0x0e, 0x22 }}\r
-  \r
-  ##   Include/Ppi/BlockIo.h\r
-  gEfiPeiIdeBlockIoPpiGuid       = { 0x0964e5b22, 0x6459, 0x11d2, { 0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b }}\r
-  \r
-  ## Include/Ppi/S3Resume.h\r
-  gEfiPeiS3ResumePpiGuid         = { 0x4426CCB2, 0xE684, 0x4a8a, { 0xae, 0x40, 0x20, 0xd4, 0xb0, 0x25, 0xb7, 0x10 }}\r
-  \r
   ## Include/Ppi/Security.h\r
   gEfiPeiSecurityPpiGuid         = { 0x1388066E, 0x3A57, 0x4EFA, { 0x98, 0xF3, 0xC1, 0x2F, 0x3A, 0x95, 0x8A, 0x29 }}\r
   \r
   \r
   ## Include/Ppi/FindFv.h\r
   gEfiFindFvPpiGuid              = { 0x36164812, 0xa023, 0x44e5, { 0xbd, 0x85, 0x05, 0xbf, 0x3c, 0x77, 0x00, 0xaa }}\r
-\r