]>
Commit | Line | Data |
---|---|---|
cf7e50f8 | 1 | /** @file\r |
4a71b21a | 2 | This protocol is used to prepare all information that is needed for the S3 resume boot path. This\r |
3 | protocol is not required for all platforms.\r | |
4 | This protocol is defined in framework S3Resume v0.9, page 21.\r | |
5 | \r | |
8f23e4e6 | 6 | Copyright (c) 2006, Intel Corporation\r |
7 | All rights reserved. This program and the accompanying materials\r | |
8 | are licensed and made available under the terms and conditions of the BSD License\r | |
9 | which accompanies this distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
cf7e50f8 | 15 | **/\r |
8f23e4e6 | 16 | \r |
4ebb0d9e | 17 | #ifndef _ACPI_S3_SAVE_PROTOCOL_H_\r |
18 | #define _ACPI_S3_SAVE_PROTOCOL_H_\r | |
8f23e4e6 | 19 | \r |
20 | #include <PiDxe.h>\r | |
21 | \r | |
22 | //\r | |
23 | // Forward reference for pure ANSI compatability\r | |
24 | //\r | |
25 | typedef struct _EFI_ACPI_S3_SAVE_PROTOCOL EFI_ACPI_S3_SAVE_PROTOCOL;\r | |
26 | \r | |
27 | //\r | |
28 | // S3 Save Protocol GUID\r | |
29 | //\r | |
30 | #define EFI_ACPI_S3_SAVE_GUID \\r | |
31 | { \\r | |
32 | 0x125f2de1, 0xfb85, 0x440c, {0xa5, 0x4c, 0x4d, 0x99, 0x35, 0x8a, 0x8d, 0x38 } \\r | |
33 | }\r | |
34 | \r | |
35 | //\r | |
36 | // Protocol Data Structures\r | |
37 | //\r | |
38 | typedef\r | |
39 | EFI_STATUS\r | |
69686d56 | 40 | (EFIAPI *EFI_ACPI_S3_SAVE)(\r |
8f23e4e6 | 41 | IN EFI_ACPI_S3_SAVE_PROTOCOL * This,\r |
42 | IN VOID * LegacyMemoryAddress\r | |
43 | );\r | |
44 | \r | |
45 | typedef\r | |
46 | EFI_STATUS\r | |
69686d56 | 47 | (EFIAPI *EFI_ACPI_GET_LEGACY_MEMORY_SIZE)(\r |
8f23e4e6 | 48 | IN EFI_ACPI_S3_SAVE_PROTOCOL * This,\r |
49 | OUT UINTN * Size\r | |
50 | );\r | |
51 | \r | |
52 | struct _EFI_ACPI_S3_SAVE_PROTOCOL {\r | |
53 | EFI_ACPI_GET_LEGACY_MEMORY_SIZE GetLegacyMemorySize;\r | |
54 | EFI_ACPI_S3_SAVE S3Save;\r | |
55 | };\r | |
56 | \r | |
57 | extern EFI_GUID gEfiAcpiS3SaveProtocolGuid;\r | |
58 | \r | |
59 | #endif\r |