2 This file declares S3 Resume PPI.
4 Copyright (c) 2007, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 Module Name: S3Resume.h
15 @par Revision Reference:
16 This PPI is defined in Framework of EFI S3 Resume Boot Path spec.
21 #ifndef __PEI_S3_RESUME_PPI_H__
22 #define __PEI_S3_RESUME_PPI_H__
26 #define EFI_PEI_S3_RESUME_PPI_GUID \
28 0x4426CCB2, 0xE684, 0x4a8a, {0xAE, 0x40, 0x20, 0xD4, 0xB0, 0x25, 0xB7, 0x10 } \
31 typedef struct _EFI_PEI_S3_RESUME_PPI EFI_PEI_S3_RESUME_PPI
;
34 Restores the platform to its preboot configuration for an S3 resume and
35 jumps to the OS waking vector.
37 @param PeiServices Pointer to the PEI Services Table
39 @retval EFI_ABORTED Execution of the S3 resume boot script table failed.
40 @retval EFI_NOT_FOUND Some necessary information that is used for
41 the S3 resume boot path could not be located.
46 (EFIAPI
*EFI_PEI_S3_RESUME_PPI_RESTORE_CONFIG
) (
47 IN EFI_PEI_SERVICES
**PeiServices
52 EFI_PEI_S3_RESUME_PPI accomplishes the firmware S3 resume boot
53 path and transfers control to OS.
55 @param S3RestoreConfig
56 Restores the platform to its preboot configuration for an S3 resume and
57 jumps to the OS waking vector.
60 struct _EFI_PEI_S3_RESUME_PPI
{
61 EFI_PEI_S3_RESUME_PPI_RESTORE_CONFIG S3RestoreConfig
;
64 extern EFI_GUID gEfiPeiS3ResumePpiGuid
;