Fix several typos to make PeiVariable pass build.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / AcpiS3Save.h
CommitLineData
3e5a3960 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 AcpiS3Save.h\r
15\r
16Abstract:\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
27typedef 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
40typedef\r
41EFI_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
47typedef \r
48EFI_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
54struct _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
59extern EFI_GUID gEfiAcpiS3SaveProtocolGuid;\r
60\r
61#endif\r