]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
OvmfPkg/CpuS3DataDxe: superficial cleanups
[mirror_edk2.git] / OvmfPkg / CpuS3DataDxe / CpuS3DataDxe.inf
1 ## @file
2 # ACPI CPU Data initialization module
3 #
4 # This module initializes the ACPI_CPU_DATA structure and registers the address
5 # of this structure in the PcdCpuS3DataAddress PCD. This is a generic/simple
6 # version of this module. It does not provide a machine check handler or CPU
7 # register initialization tables for ACPI S3 resume. It also only supports the
8 # number of CPUs reported by the MP Services Protocol, so this module does not
9 # support hot plug CPUs. This module can be copied into a CPU specific package
10 # and customized if these additional features are required.
11 #
12 # Copyright (c) 2013-2016, Intel Corporation. All rights reserved.<BR>
13 # Copyright (c) 2015-2020, Red Hat, Inc.
14 #
15 # SPDX-License-Identifier: BSD-2-Clause-Patent
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 1.29
21 BASE_NAME = CpuS3DataDxe
22 FILE_GUID = 229B7EFD-DA02-46B9-93F4-E20C009F94E9
23 MODULE_TYPE = DXE_DRIVER
24 VERSION_STRING = 1.0
25 ENTRY_POINT = CpuS3DataInitialize
26
27 # The following information is for reference only and not required by the build
28 # tools.
29 #
30 # VALID_ARCHITECTURES = IA32 X64
31
32 [Sources]
33 CpuS3Data.c
34
35 [Packages]
36 MdeModulePkg/MdeModulePkg.dec
37 MdePkg/MdePkg.dec
38 UefiCpuPkg/UefiCpuPkg.dec
39
40 [LibraryClasses]
41 BaseLib
42 BaseMemoryLib
43 DebugLib
44 MemoryAllocationLib
45 MtrrLib
46 UefiBootServicesTableLib
47 UefiDriverEntryPoint
48
49 [Guids]
50 gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event
51
52 [Protocols]
53 gEfiMpServiceProtocolGuid ## CONSUMES
54
55 [Pcd]
56 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable ## CONSUMES
57 gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize ## CONSUMES
58 gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress ## PRODUCES
59
60 [Depex]
61 gEfiMpServiceProtocolGuid