]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkPkg/Include/Protocol/AcpiS3Save.h
Update to BSD license header.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / AcpiS3Save.h
CommitLineData
3e5a3960 1/*++\r
2\r
b80fbe85 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
3e5a3960 11\r
12Module Name:\r
13\r
14 AcpiS3Save.h\r
15\r
16Abstract:\r
17\r
b80fbe85 18\r
3e5a3960 19--*/\r
20\r
21#ifndef _ACPI_S3_SAVE_PROTOCOL_H\r
22#define _ACPI_S3_SAVE_PROTOCOL_H\r
23\r
b80fbe85 24#include <PiDxe.h>\r
25\r
3e5a3960 26//\r
27// Forward reference for pure ANSI compatability\r
28//\r
29typedef struct _EFI_ACPI_S3_SAVE_PROTOCOL EFI_ACPI_S3_SAVE_PROTOCOL;\r
30\r
31//\r
32// S3 Save Protocol GUID\r
33//\r
34#define EFI_ACPI_S3_SAVE_GUID \\r
35 { \\r
36 0x125f2de1, 0xfb85, 0x440c, {0xa5, 0x4c, 0x4d, 0x99, 0x35, 0x8a, 0x8d, 0x38 } \\r
37 }\r
38\r
39//\r
40// Protocol Data Structures\r
41//\r
42typedef\r
43EFI_STATUS\r
44(EFIAPI *EFI_ACPI_S3_SAVE) (\r
45 IN EFI_ACPI_S3_SAVE_PROTOCOL * This,\r
b80fbe85 46 IN VOID * LegacyMemoryAddress\r
3e5a3960 47 );\r
48\r
b80fbe85 49typedef\r
50EFI_STATUS\r
3e5a3960 51(EFIAPI *EFI_ACPI_GET_LEGACY_MEMORY_SIZE) (\r
52 IN EFI_ACPI_S3_SAVE_PROTOCOL * This,\r
53 OUT UINTN * Size\r
54);\r
55\r
56struct _EFI_ACPI_S3_SAVE_PROTOCOL {\r
57 EFI_ACPI_GET_LEGACY_MEMORY_SIZE GetLegacyMemorySize;\r
58 EFI_ACPI_S3_SAVE S3Save;\r
59};\r
60\r
61extern EFI_GUID gEfiAcpiS3SaveProtocolGuid;\r
62\r
63#endif\r