]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
UefiCpuPkg/CpuS3DataDxe: Add module to initialize ACPI_CPU_DATA for S3
[mirror_edk2.git] / UefiCpuPkg / CpuS3DataDxe / CpuS3DataDxe.inf
diff --git a/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf b/UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
new file mode 100644 (file)
index 0000000..2ef16a7
--- /dev/null
@@ -0,0 +1,64 @@
+## @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-2015, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2015, Red Hat, Inc.\r
+#\r
+#  This program and the accompanying materials\r
+#  are licensed and made available under the terms and conditions of the BSD License\r
+#  which accompanies this distribution.  The full text of the license may be found at\r
+#  http://opensource.org/licenses/bsd-license.php\r
+#\r
+#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = CpuS3DataDxe\r
+  FILE_GUID                      = 4D2E57EE-0E3F-44DD-93C4-D3B57E96945D\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
+  UefiCpuPkg/UefiCpuPkg.dec\r
+\r
+[LibraryClasses]\r
+  UefiDriverEntryPoint\r
+  UefiBootServicesTableLib\r
+  BaseMemoryLib\r
+  DebugLib\r
+  BaseLib\r
+  MtrrLib\r
+\r
+[Guids]\r
+  gEfiEndOfDxeEventGroupGuid         ## CONSUMES\r
+\r
+[Protocols]\r
+  gEfiMpServiceProtocolGuid          ## CONSUMES\r
+\r
+[Pcd]\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize    ## CONSUMES\r
+  gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress  ## PRODUCES\r
+\r
+[Depex]\r
+  gEfiMpServiceProtocolGuid\r