]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
OvmfPkg: clone CpuS3DataDxe from UefiCpuPkg
[mirror_edk2.git] / OvmfPkg / CpuS3DataDxe / CpuS3DataDxe.inf
diff --git a/OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf b/OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
new file mode 100644 (file)
index 0000000..0ad8a0b
--- /dev/null
@@ -0,0 +1,61 @@
+## @file\r
+#  ACPI CPU Data initialization module\r
+#\r
+#  This module initializes the ACPI_CPU_DATA structure and registers the address\r
+#  of this structure in the PcdCpuS3DataAddress PCD.  This is a generic/simple\r
+#  version of this module.  It does not provide a machine check handler or CPU\r
+#  register initialization tables for ACPI S3 resume.  It also only supports the\r
+#  number of CPUs reported by the MP Services Protocol, so this module does not\r
+#  support hot plug CPUs.  This module can be copied into a CPU specific package\r
+#  and customized if these additional features are required.\r
+#\r
+#  Copyright (c) 2013-2016, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2015-2020, Red Hat, Inc.\r
+#\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 1.29\r
+  BASE_NAME                      = CpuS3DataDxe\r
+  FILE_GUID                      = 229B7EFD-DA02-46B9-93F4-E20C009F94E9\r
+  MODULE_TYPE                    = DXE_DRIVER\r
+  VERSION_STRING                 = 1.0\r
+  ENTRY_POINT                    = CpuS3DataInitialize\r
+\r
+# The following information is for reference only and not required by the build\r
+# tools.\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64\r
+\r
+[Sources]\r
+  CpuS3Data.c\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+  UefiCpuPkg/UefiCpuPkg.dec\r
+\r
+[LibraryClasses]\r
+  UefiDriverEntryPoint\r
+  UefiBootServicesTableLib\r
+  BaseMemoryLib\r
+  DebugLib\r
+  BaseLib\r
+  MtrrLib\r
+  MemoryAllocationLib\r
+\r
+[Guids]\r
+  gEfiEndOfDxeEventGroupGuid         ## CONSUMES   ## Event\r
+\r
+[Protocols]\r
+  gEfiMpServiceProtocolGuid          ## CONSUMES\r
+\r
+[Pcd]\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize    ## CONSUMES\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress  ## PRODUCES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable ## CONSUMES\r
+\r
+[Depex]\r
+  gEfiMpServiceProtocolGuid\r