2 Definitions for data structures used in S3 resume.
4 Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions
8 of the BSD License which accompanies this distribution. The
9 full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #ifndef _ACPI_VARIABLE_COMPATIBILITY_H_
18 #define _ACPI_VARIABLE_COMPATIBILITY_H_
20 #define EFI_ACPI_VARIABLE_COMPATIBILITY_GUID \
22 0xc020489e, 0x6db2, 0x4ef2, {0x9a, 0xa5, 0xca, 0x6, 0xfc, 0x11, 0xd3, 0x6a } \
25 #define ACPI_GLOBAL_VARIABLE L"AcpiGlobalVariable"
27 extern EFI_GUID gEfiAcpiVariableCompatiblityGuid
;
32 EFI_PHYSICAL_ADDRESS WakeUpBuffer
;
33 EFI_PHYSICAL_ADDRESS GdtrProfile
;
34 EFI_PHYSICAL_ADDRESS IdtrProfile
;
35 EFI_PHYSICAL_ADDRESS CpuPrivateData
;
36 EFI_PHYSICAL_ADDRESS StackAddress
;
37 EFI_PHYSICAL_ADDRESS MicrocodePointerBuffer
;
38 EFI_PHYSICAL_ADDRESS SmramBase
;
39 EFI_PHYSICAL_ADDRESS SmmStartImageBase
;
40 UINT32 SmmStartImageSize
;
42 } ACPI_CPU_DATA_COMPATIBILITY
;
46 // Acpi Related variables
48 EFI_PHYSICAL_ADDRESS AcpiReservedMemoryBase
;
49 UINT32 AcpiReservedMemorySize
;
50 EFI_PHYSICAL_ADDRESS S3ReservedLowMemoryBase
;
51 EFI_PHYSICAL_ADDRESS AcpiBootScriptTable
;
52 EFI_PHYSICAL_ADDRESS RuntimeScriptTableBase
;
53 EFI_PHYSICAL_ADDRESS AcpiFacsTable
;
54 UINT64 SystemMemoryLength
;
55 ACPI_CPU_DATA_COMPATIBILITY AcpiCpuData
;
57 // VGA OPROM to support Video Re-POST for Linux S3
59 EFI_PHYSICAL_ADDRESS VideoOpromAddress
;
60 UINT32 VideoOpromSize
;
65 EFI_PHYSICAL_ADDRESS S3DebugBufferAddress
;
66 EFI_PHYSICAL_ADDRESS S3ResumeNvsEntryPoint
;
67 } ACPI_VARIABLE_SET_COMPATIBILITY
;