]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Include/Guid/AcpiVariableCompatibility.h
IntelFrameworkModulePkg: Clean up source files
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Guid / AcpiVariableCompatibility.h
CommitLineData
1261fe23 1/** @file\r
2 Definitions for data structures used in S3 resume.\r
3\r
0a6f4824 4Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
1261fe23 5\r
6This program and the accompanying materials\r
7are licensed and made available under the terms and conditions\r
8of the BSD License which accompanies this distribution. The\r
9full text of the license may be found at\r
10http://opensource.org/licenses/bsd-license.php\r
11\r
12THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14\r
15**/\r
16\r
17#ifndef _ACPI_VARIABLE_COMPATIBILITY_H_\r
18#define _ACPI_VARIABLE_COMPATIBILITY_H_\r
19\r
20#define EFI_ACPI_VARIABLE_COMPATIBILITY_GUID \\r
21 { \\r
22 0xc020489e, 0x6db2, 0x4ef2, {0x9a, 0xa5, 0xca, 0x6, 0xfc, 0x11, 0xd3, 0x6a } \\r
23 }\r
24\r
25#define ACPI_GLOBAL_VARIABLE L"AcpiGlobalVariable"\r
26\r
27extern EFI_GUID gEfiAcpiVariableCompatiblityGuid;\r
28\r
29typedef struct {\r
30 BOOLEAN APState;\r
31 BOOLEAN S3BootPath;\r
32 EFI_PHYSICAL_ADDRESS WakeUpBuffer;\r
33 EFI_PHYSICAL_ADDRESS GdtrProfile;\r
34 EFI_PHYSICAL_ADDRESS IdtrProfile;\r
35 EFI_PHYSICAL_ADDRESS CpuPrivateData;\r
36 EFI_PHYSICAL_ADDRESS StackAddress;\r
37 EFI_PHYSICAL_ADDRESS MicrocodePointerBuffer;\r
38 EFI_PHYSICAL_ADDRESS SmramBase;\r
39 EFI_PHYSICAL_ADDRESS SmmStartImageBase;\r
40 UINT32 SmmStartImageSize;\r
41 UINT32 NumberOfCpus;\r
42} ACPI_CPU_DATA_COMPATIBILITY;\r
43\r
44typedef struct {\r
45 //\r
46 // Acpi Related variables\r
47 //\r
48 EFI_PHYSICAL_ADDRESS AcpiReservedMemoryBase;\r
49 UINT32 AcpiReservedMemorySize;\r
50 EFI_PHYSICAL_ADDRESS S3ReservedLowMemoryBase;\r
51 EFI_PHYSICAL_ADDRESS AcpiBootScriptTable;\r
52 EFI_PHYSICAL_ADDRESS RuntimeScriptTableBase;\r
53 EFI_PHYSICAL_ADDRESS AcpiFacsTable;\r
54 UINT64 SystemMemoryLength;\r
55 ACPI_CPU_DATA_COMPATIBILITY AcpiCpuData;\r
56 //\r
57 // VGA OPROM to support Video Re-POST for Linux S3\r
58 //\r
59 EFI_PHYSICAL_ADDRESS VideoOpromAddress;\r
60 UINT32 VideoOpromSize;\r
61\r
62 //\r
63 // S3 Debug extension\r
64 //\r
0a6f4824
LG
65 EFI_PHYSICAL_ADDRESS S3DebugBufferAddress;\r
66 EFI_PHYSICAL_ADDRESS S3ResumeNvsEntryPoint;\r
1261fe23 67} ACPI_VARIABLE_SET_COMPATIBILITY;\r
68\r
69#endif\r