878ddf1f |
1 | /*++\r |
2 | \r |
3 | Copyright (c) 2006, Intel Corporation \r |
4 | All rights reserved. This program and the accompanying materials \r |
5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r |
7 | http://opensource.org/licenses/bsd-license.php \r |
8 | \r |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r |
11 | \r |
12 | Module Name:\r |
13 | \r |
14 | AcpiS3Save.h\r |
15 | \r |
16 | Abstract:\r |
17 | \r |
18 | \r |
19 | --*/\r |
20 | \r |
21 | #ifndef _ACPI_S3_SAVE_PROTOCOL_H\r |
22 | #define _ACPI_S3_SAVE_PROTOCOL_H\r |
23 | \r |
24 | //\r |
25 | // Forward reference for pure ANSI compatability\r |
26 | //\r |
27 | typedef struct _EFI_ACPI_S3_SAVE_PROTOCOL EFI_ACPI_S3_SAVE_PROTOCOL;\r |
28 | \r |
29 | //\r |
30 | // S3 Save Protocol GUID\r |
31 | //\r |
32 | #define EFI_ACPI_S3_SAVE_GUID \\r |
33 | { \\r |
34 | 0x125f2de1, 0xfb85, 0x440c, {0xa5, 0x4c, 0x4d, 0x99, 0x35, 0x8a, 0x8d, 0x38 } \\r |
35 | }\r |
36 | \r |
37 | //\r |
38 | // Protocol Data Structures\r |
39 | //\r |
40 | typedef\r |
41 | EFI_STATUS\r |
42 | (EFIAPI *EFI_ACPI_S3_SAVE) (\r |
43 | IN EFI_ACPI_S3_SAVE_PROTOCOL * This,\r |
44 | IN VOID * LegacyMemoryAddress \r |
45 | );\r |
46 | \r |
47 | typedef \r |
48 | EFI_STATUS \r |
49 | (EFIAPI *EFI_ACPI_GET_LEGACY_MEMORY_SIZE) (\r |
50 | IN EFI_ACPI_S3_SAVE_PROTOCOL * This,\r |
51 | OUT UINTN * Size\r |
52 | );\r |
53 | \r |
54 | struct _EFI_ACPI_S3_SAVE_PROTOCOL {\r |
55 | EFI_ACPI_GET_LEGACY_MEMORY_SIZE GetLegacyMemorySize;\r |
56 | EFI_ACPI_S3_SAVE S3Save;\r |
57 | };\r |
58 | \r |
59 | extern EFI_GUID gEfiAcpiS3SaveProtocolGuid;\r |
60 | \r |
61 | #endif\r |