]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkPkg/Include/Ppi/S3Resume.h
Renaming files/directories
[mirror_edk2.git] / IntelFrameworkPkg / Include / Ppi / S3Resume.h
CommitLineData
79964ac8 1/** @file\r
2 This file declares S3 Resume PPI.\r
3\r
4 Copyright (c) 2007, Intel Corporation\r
5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13 Module Name: S3Resume.h\r
14\r
15 @par Revision Reference:\r
16 This PPI is defined in Framework of EFI S3 Resume Boot Path spec.\r
17 Version 0.9\r
18\r
19**/\r
20\r
21#ifndef __PEI_S3_RESUME_PPI_H__\r
22#define __PEI_S3_RESUME_PPI_H__\r
23\r
b80fbe85 24#include <PiPei.h>\r
25\r
79964ac8 26#define EFI_PEI_S3_RESUME_PPI_GUID \\r
27 { \\r
28 0x4426CCB2, 0xE684, 0x4a8a, {0xAE, 0x40, 0x20, 0xD4, 0xB0, 0x25, 0xB7, 0x10 } \\r
29 }\r
30\r
31typedef struct _EFI_PEI_S3_RESUME_PPI EFI_PEI_S3_RESUME_PPI;\r
32\r
33/**\r
34 Restores the platform to its preboot configuration for an S3 resume and\r
35 jumps to the OS waking vector.\r
36\r
37 @param PeiServices Pointer to the PEI Services Table\r
38\r
39 @retval EFI_ABORTED Execution of the S3 resume boot script table failed.\r
40 @retval EFI_NOT_FOUND Some necessary information that is used for\r
41 the S3 resume boot path could not be located.\r
42\r
43**/\r
44typedef\r
45EFI_STATUS\r
46(EFIAPI *EFI_PEI_S3_RESUME_PPI_RESTORE_CONFIG) (\r
47 IN EFI_PEI_SERVICES **PeiServices\r
48 );\r
49\r
50/**\r
51 @par Ppi Description:\r
52 EFI_PEI_S3_RESUME_PPI accomplishes the firmware S3 resume boot\r
53 path and transfers control to OS.\r
54\r
55 @param S3RestoreConfig\r
56 Restores the platform to its preboot configuration for an S3 resume and\r
57 jumps to the OS waking vector.\r
58\r
59**/\r
60struct _EFI_PEI_S3_RESUME_PPI {\r
61 EFI_PEI_S3_RESUME_PPI_RESTORE_CONFIG S3RestoreConfig;\r
62};\r
63\r
64extern EFI_GUID gEfiPeiS3ResumePpiGuid;\r
65\r
66#endif\r